linux/drivers/net/wireless
Larry Finger 1a8d122782 b43: Fix rfkill radio LED
This fixes Bug #9414

Since addition of the rfkill callback, the LED associated with the off
switch on the radio has not worked for several reasons:

(1) Essential data in the rfkill structure were missing.
(2) The rfkill structure was initialized after the LED initialization.
(3) There was a minor memory leak if the radio LED structure was inited.

Once the above problems were fixed, additional difficulties were noted:

(4) The radio LED was in the wrong state at startup.
(5) The radio switch had to be manipulated twice for each state change.
(6) A circular mutex locking situation existed.
(7) If rfkill-input is built as a module, it is not automatically loaded.

This patch fixes all of the above.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-12-17 17:01:40 -05:00
..
b43 b43: Fix rfkill radio LED 2007-12-17 17:01:40 -05:00
b43legacy drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
bcm43xx bcm43xx_debugfs sscanf fix 2007-12-17 17:01:40 -05:00
hostap hostap: fix section mismatch warning 2007-11-10 04:25:12 -05:00
iwlwifi iwlwifi3945/4965: fix rate control algo reference leak 2007-12-17 17:01:39 -05:00
libertas libertas: let more than one MAC event through 2007-11-29 21:34:52 -05:00
prism54 [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
rt2x00 rt2x00: Request usb_maxpacket() once 2007-11-18 18:47:37 -08:00
zd1211rw zd1211rw: Fix alignment problems 2007-12-17 17:01:39 -05:00
adm8211.c [MAC80211]: add "invalid" interface type 2007-10-10 16:54:15 -07:00
adm8211.h [PATCH] adm8211: Use revision from pci_dev 2007-10-10 16:53:09 -07:00
airo.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
airo.h
airo_cs.c
airport.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
arlan-main.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
arlan-proc.c [PATCH] dev->priv to netdev_priv(dev), for drivers/net/wireless 2007-10-10 16:49:37 -07:00
arlan.h
atmel.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
atmel.h
atmel_cs.c
atmel_pci.c
hermes.c
hermes.h
hermes_rid.h
i82586.h
i82593.h
ipw2100.c ipw2100: fix postfix decrement errors 2007-11-10 04:25:12 -05:00
ipw2100.h Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2007-10-19 20:35:20 -07:00
ipw2200.c wireless/ipw2200.c: add __dev{init,exit} annotations 2007-12-17 17:01:39 -05:00
ipw2200.h [PATCH] ipw2200: batch non-user-requested scan result notifications 2007-10-10 16:55:06 -07:00
Kconfig libertas: select WIRELESS_EXT 2007-12-17 17:01:39 -05:00
Makefile [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
net2280.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
netwave_cs.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
orinoco.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco.h
orinoco_cs.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_nortel.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_pci.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_pci.h
orinoco_plx.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
orinoco_tmd.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
p54.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
p54common.c [PATCH] p54: Make filter configuration atomic 2007-10-18 15:44:42 -04:00
p54common.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
p54pci.c [MAC80211]: add "invalid" interface type 2007-10-10 16:54:15 -07:00
p54pci.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
p54usb.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
p54usb.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
ray_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ray_cs.h long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
rayctl.h
rtl818x.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rtl8187.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rtl8187_dev.c [PATCH] rtl8187: Allow multicast frames 2007-10-25 22:06:29 -04:00
rtl8187_rtl8225.c [PATCH] rtl8187: fix endianness issue in rtl8225 register writing 2007-07-10 13:51:38 -04:00
rtl8187_rtl8225.h [PATCH] rtl8187: add header blocks and indicate origin of magic values 2007-07-08 22:16:37 -04:00
spectrum_cs.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
strip.c [TTY]: Use tty_mode_ioctl() in network drivers. 2007-11-07 04:14:24 -08:00
wavelan.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wavelan.h
wavelan.p.h
wavelan_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wavelan_cs.h
wavelan_cs.p.h
wl3501.h
wl3501_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
zd1201.c [PATCH] zd1201: avoid null ptr access of skb->dev 2007-10-18 15:21:47 -04:00
zd1201.h