wlcore: Load the NVS file asynchronously
authorIdo Yariv <ido@wizery.com>
Sat, 1 Sep 2012 22:32:47 +0000 (01:32 +0300)
committerLuciano Coelho <luca@coelho.fi>
Thu, 27 Sep 2012 09:13:54 +0000 (12:13 +0300)
commit6f8d6b20bb0bdda333e781faf775db14cb4660dd
treea898152d4290cf43c9c7568ac3e60c3251cc617d
parent3992eb2bf2b1f6d244cf527c922c0cbd810e69c5
wlcore: Load the NVS file asynchronously

The NVS file is loaded by the device's probe callback with the help of
request_firmware(). Since request_firmware() relies on udevd, the
modules cannot be loaded before hotplug events are handled.

Fix this by loading the NVS file asynchronously and continue
initialization only after the firmware request is over.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/wlcore.h