android_kernel_xiaomi_sm8350/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
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_cs.c
airo.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
airo.h
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
arlan.h
atmel_cs.c
atmel_pci.c
atmel.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
atmel.h
hermes_rid.h
hermes.c
hermes.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
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
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
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_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
orinoco.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
orinoco.h
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_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
rtl8187_rtl8225.h
rtl8187.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07: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_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
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
wl3501_cs.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
wl3501.h
zd1201.c
zd1201.h