kernel-fxtec-pro1x/drivers/net/wireless/b43legacy
Stefano Brivio db9683fb19 b43legacy: rewrite and fix rfkill initialization
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>
2008-01-28 15:04:30 -08:00
..
b43legacy.h b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
debugfs.c b43legacy: fix possible buffer overrun in debugfs 2007-11-10 04:25:13 -05:00
debugfs.h
dma.c b43/b43legacy: fix left-over URLs and ifdefs 2007-11-29 21:34:51 -05:00
dma.h
ilt.c
ilt.h
Kconfig b43legacy: Use input-polldev for the rfkill switch 2008-01-28 15:03:27 -08:00
leds.c b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
leds.h b43legacy: LED triggers support 2008-01-28 15:03:26 -08:00
main.c b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
main.h [B43LEGACY]: Change the hardware radio enable logic and cleanup code 2007-10-10 16:52:25 -07:00
Makefile b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
phy.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
phy.h
pio.c
pio.h
radio.c b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
radio.h b43legacy: RF-kill support 2008-01-28 15:03:27 -08:00
rfkill.c b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
rfkill.h b43legacy: rewrite and fix rfkill initialization 2008-01-28 15:04:30 -08:00
sysfs.c
sysfs.h
xmit.c b43legacy: use the retry limits provided by mac80211 2008-01-28 15:04:28 -08:00
xmit.h