aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/eepro.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-09-23 13:49:12 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-09-23 11:35:54 -0400
commite31f7b96f0252e8da06df1bc7fd0f6dbc8cbec42 (patch)
treea9b9220dc1621e7153e68c0e8f529846f700ceae /drivers/net/eepro.c
parent33e2fb2f2b5d3b2f491fccab0ead256e34447cc6 (diff)
ath9k: Fix RFKILL bugs
This patch fixes 2 issues in RFKILL: * Calling wiphy_rfkill_stop_polling() in ath9k_stop would mean that the driver cannot report HW status when the radio is re-enabled. Move this to ath_detach(). * Calling ath_radio_{enable/disable} without checking the current state results in ath_radio_enable() being called repeatedly for every invocation of rfkill_poll(). This is not needed in any case since wiphy_rfkill_set_hw_state() would call ->stop() if the radio has been disabled. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/eepro.c')
0 files changed, 0 insertions, 0 deletions