OpenCloudOS-Kernel/drivers/net/wireless
Ivo van Doorn 81873e9ccd [PATCH] rt2x00: Fix rfkill handling
As reported by Modestas Vainius, enabling rkfill in 1 driver and
disabling it in a second could cause a NULL pointer exception when
the rfkill-disabled driver still sets the CONFIG_SUPPORT_HW_BUTTON flag.

Furthermore, rfkill expects the timeout as a value in milliseconds
instead of jiffies. Also increase the timeout to a second,
since this 250ms would be overkill.

Also the flag DEVICE_ENABLED_RADIO_HW is causing problems
for devices which do not support the hardware button
while rfkill is enabled in the driver.

To remidy this we should inverse the flag and its meaning,
rename the flag to DEVICE_DISABLED_RADIO_HW this means that
by default the radio is enabled by the hardware button (if present)
and can only be disabled explicitely.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-10-10 16:55:11 -07:00
..
b43 [MAC80211]: remove ALG_NONE 2007-10-10 16:54:18 -07:00
b43legacy [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
bcm43xx [BCM43XX]: Change radio hardware switch status printk from debug to regular 2007-10-10 16:52:18 -07:00
hostap [PATCH] Add Linksys card to HostAP driver 2007-10-10 16:55:05 -07:00
iwlwifi [MAC80211]: remove ALG_NONE 2007-10-10 16:54:18 -07:00
libertas [LIBERTAS]: fix oops on the blackfin architecture 2007-10-10 16:52:28 -07:00
prism54 [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
rt2x00 [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
zd1211rw [PATCH] zd1211rw: Add ID for TalkTalk SNU5630NS/05 2007-10-10 16:55:04 -07:00
Kconfig [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
Makefile [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07: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 [PATCH] pcmcia: conf.ConfigBase and conf.Present consolidation 2006-12-04 20:12:02 -05:00
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 [PATCH] pcmcia: conf.ConfigBase and conf.Present consolidation 2006-12-04 20:12:02 -05:00
atmel_pci.c [PATCH] atmel: whitespace cleanup 2006-12-02 00:11:57 -05:00
hermes.c
hermes.h
hermes_rid.h
i82586.h
i82593.h
ipw2100.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
ipw2100.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
ipw2200.c [PATCH] ipw2200: batch non-user-requested scan result notifications 2007-10-10 16:55:06 -07:00
ipw2200.h [PATCH] ipw2200: batch non-user-requested scan result notifications 2007-10-10 16:55:06 -07:00
net2280.h [P54]: add mac80211-based driver for prism54 softmac hardware 2007-10-10 16:51:42 -07:00
netwave_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
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 [PATCH] wireless: clean-up some "check return code" warnings 2006-12-02 00:12:03 -05:00
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 [MAC80211]: add "invalid" interface type 2007-10-10 16:54:15 -07: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 [PATCH] p54usb: Add device ID for Linksys WUSB54AG 2007-10-10 16:55:07 -07: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
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: Add device ID for HP wireless print kit usb dongle 2007-10-10 16:55:06 -07: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 [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07: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 [PATCH] wavelan: Use ARRAY_SIZE macro when appropriate 2007-02-14 15:45:04 -05:00
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 Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
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 [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
zd1201.h