OpenCloudOS-Kernel/drivers/net/wireless/b43
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
..
Kconfig b43: Fix kconfig dependencies for rfkill and leds 2007-11-10 04:25:14 -05:00
Makefile [B43]: RF-kill support 2007-10-10 16:54:12 -07:00
b43.h [B43]: RF-kill support 2007-10-10 16:54:12 -07:00
debugfs.c b43: debugfs SHM read buffer overrun fix 2007-11-10 04:25:12 -05:00
debugfs.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
dma.c [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
dma.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
leds.c b43: Fix rfkill radio LED 2007-12-17 17:01:40 -05:00
leds.h [B43]: LED triggers support 2007-10-10 16:54:11 -07:00
lo.c [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
lo.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
main.c b43: Fix rfkill radio LED 2007-12-17 17:01:40 -05:00
main.h [B43]: Change loglevel of radio-enable message. 2007-10-10 16:52:21 -07:00
pcmcia.c b43: properly request pcmcia IRQ 2007-11-10 04:25:13 -05:00
pcmcia.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
phy.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
phy.h [B43]: RF-kill support 2007-10-10 16:54:12 -07:00
pio.c [B43]: Fix sparse warnings. 2007-10-10 16:52:07 -07:00
pio.h b43 wireless needs <linux/io.h> 2007-10-13 09:41:03 -07:00
rfkill.c b43: Fix rfkill radio LED 2007-12-17 17:01:40 -05:00
rfkill.h b43: Rewrite and fix rfkill init 2007-11-10 04:25:12 -05:00
sysfs.c b43 wireless needs <linux/io.h> 2007-10-13 09:41:03 -07:00
sysfs.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
tables.c [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
tables.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00
xmit.c [B43]: Fix sparse warnings. 2007-10-10 16:52:07 -07:00
xmit.h [B43]: add mac80211-based driver for modern BCM43xx devices 2007-10-10 16:51:37 -07:00