db9683fb19
The rfkill subsystem doesn't like code like that rfkill_allocate(); rfkill_register(); rfkill_unregister(); rfkill_register(); /* <- This will crash */ This sequence happens with modprobe b43 ifconfig wlanX up ifconfig wlanX down ifconfig wlanX up Fix this by always re-allocating the rfkill stuff before register. The patch to b43 by Michael Buesch <mb@bu3sch.de> has been ported to b43legacy. Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
b43legacy.h | ||
debugfs.c | ||
debugfs.h | ||
dma.c | ||
dma.h | ||
ilt.c | ||
ilt.h | ||
Kconfig | ||
leds.c | ||
leds.h | ||
main.c | ||
main.h | ||
Makefile | ||
phy.c | ||
phy.h | ||
pio.c | ||
pio.h | ||
radio.c | ||
radio.h | ||
rfkill.c | ||
rfkill.h | ||
sysfs.c | ||
sysfs.h | ||
xmit.c | ||
xmit.h |