OpenCloudOS-Kernel/drivers/net/wireless/b43legacy
Larry Finger 576d28a7c7 b43legacy: Fix firmware loading when driver is built into the kernel
Recent versions of udev cause synchronous firmware loading from the
probe routine to fail because the request to user space times out.
The original fix for b43legacy (commit a3ea2c7) moved the firmware
load from the probe routine to a work queue, but it still used synchronous
firmware loading. This method is OK when b43legacy is built as a module;
however, it fails when the driver is compiled into the kernel.

This version changes the code to load the initial firmware file
using request_firmware_nowait(). A completion event is used to
hold the work queue until that file is available. The remaining
firmware files are read synchronously.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>  (V3.4+)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-12-10 15:47:29 -05:00
..
Kconfig
Makefile
b43legacy.h b43legacy: Fix firmware loading when driver is built into the kernel 2012-12-10 15:47:29 -05:00
debugfs.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
debugfs.h
dma.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-07-10 23:56:33 -07:00
dma.h b43legacy: Avoid packet losses in the dma worker code 2012-01-04 14:30:43 -05:00
ilt.c Update my e-mail address 2011-07-07 15:18:01 +02:00
ilt.h
leds.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
leds.h
main.c b43legacy: Fix firmware loading when driver is built into the kernel 2012-12-10 15:47:29 -05:00
main.h Update my e-mail address 2011-07-07 15:18:01 +02:00
phy.c ssb: remove rev from boardinfo 2012-05-16 12:45:20 -04:00
phy.h Update my e-mail address 2011-07-07 15:18:01 +02:00
pio.c Update my e-mail address 2011-07-07 15:18:01 +02:00
pio.h
radio.c ssb: remove rev from boardinfo 2012-05-16 12:45:20 -04:00
radio.h Update my e-mail address 2011-07-07 15:18:01 +02:00
rfkill.c Update my e-mail address 2011-07-07 15:18:01 +02:00
rfkill.h
sysfs.c Update my e-mail address 2011-07-07 15:18:01 +02:00
sysfs.h
xmit.c mac80211: support RX_FLAG_MACTIME_END 2012-11-13 21:43:55 +01:00
xmit.h