linux/drivers/net/wireless/rt2x00
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
..
Kconfig [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
Makefile [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2x00.h [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2x00config.c [PATCH] rt2x00: Remove duplicate code in MAC & BSSID handling 2007-10-10 16:55:08 -07:00
rt2x00debug.c rt2x00: Add rt2x00dev->flags to debugfs 2007-10-10 16:53:04 -07:00
rt2x00debug.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2x00dev.c [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2x00firmware.c [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2x00lib.h [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2x00mac.c [PATCH] rt2x00: Reorganize rt2x00dev->flags 2007-10-10 16:53:03 -07:00
rt2x00pci.c [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rt2x00pci.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2x00reg.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2x00rfkill.c [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2x00ring.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rt2x00usb.c [PATCH] rt2x00: Increase rt2x00usb_vendor_request timeout. 2007-10-10 16:53:02 -07:00
rt2x00usb.h [PATCH] rt2x00: Increase rt2x00usb_vendor_request timeout. 2007-10-10 16:53:02 -07:00
rt61pci.c [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt61pci.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt73usb.c [PATCH] rt2x00: Don't use changed_flags inside configure_packet_filter 2007-10-10 16:55:10 -07:00
rt73usb.h [PATCH] mac80211: revamp interface and filter configuration 2007-10-10 16:52:57 -07:00
rt2400pci.c [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2400pci.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2500pci.c [PATCH] rt2x00: Fix rfkill handling 2007-10-10 16:55:11 -07:00
rt2500pci.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00
rt2500usb.c [PATCH] rt2x00: Don't use changed_flags inside configure_packet_filter 2007-10-10 16:55:10 -07:00
rt2500usb.h [RT2x00]: add driver for Ralink wireless hardware 2007-10-10 16:51:39 -07:00