As the title states my RaspberryPi's WiFi adapter (Edimax EW-7811UN (8192CU)) is in most cases (approx 70% of the time) not ready when it tries to get an IP using DHCP on boot. It happens often that the link becomes ready after the DHCP client tried to get an IP Address. In most cases it becomes ready when I'm at the login prompt. I've already deactivated the powersaver by creating the following file with the following contents:
options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
I've already checked on Realtek's site and it looks like my version of the driver installed (came with latest raspbian image) is the latest: v4.0.2_9000
I need this to work on boot as I have something that gets mounted via fstab and then is used by a daemon.
Is there anything else I can do to make sure the device is ready when the DHCP client tries to get an IP?