b43: Load firmware from a work queue and not from the probe routine
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 9 Mar 2012 04:27:46 +0000 (22:27 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Mar 2012 18:54:16 +0000 (14:54 -0400)
commit6b6fa5868eec26bdc6a83543cebb8cf832a2645a
tree71f845d127ec1ff121b8a336ead86c6a6ac1c1bb
parenta3ea2c76b193be5794e0de6aff66e14c21b904f8
b43: Load firmware from a work queue and not from the probe routine

Recent changes in udev are causing problems for drivers that load firmware
from the probe routine. As b43 has such a structure, it must be changed.
As this driver loads more than 1 firmware file, changing to the asynchronous routine
request_firmware_nowait() would be complicated. In this implementation, the probe
routine starts a queue that calls the firmware loading routines.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c