diff options
author | Vivek Natarajan <vnatarajan@atheros.com> | 2010-06-22 02:22:37 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-23 15:14:05 -0400 |
commit | 9a75c2ff6d539da0a565b5d64605031950b0853e (patch) | |
tree | b928b6c55ee6cb108f444c4f38f99ffee5c28c0d /drivers/net/wireless/ath/ath9k/main.c | |
parent | ee031112d9eef5508f765ebc90ab488e01db002e (diff) |
ath9k: Add a module parameter to disable led blinking.
Some vendors require the LED to be ON always irrespective of any
radio activity. Introducing a module parameter to disable blinking,
so that one can choose between always on or led blink during
activity.
Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index c8de50fa637..5af259644bf 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -1241,7 +1241,9 @@ static void ath9k_stop(struct ieee80211_hw *hw) | |||
1241 | 1241 | ||
1242 | aphy->state = ATH_WIPHY_INACTIVE; | 1242 | aphy->state = ATH_WIPHY_INACTIVE; |
1243 | 1243 | ||
1244 | cancel_delayed_work_sync(&sc->ath_led_blink_work); | 1244 | if (led_blink) |
1245 | cancel_delayed_work_sync(&sc->ath_led_blink_work); | ||
1246 | |||
1245 | cancel_delayed_work_sync(&sc->tx_complete_work); | 1247 | cancel_delayed_work_sync(&sc->tx_complete_work); |
1246 | cancel_work_sync(&sc->paprd_work); | 1248 | cancel_work_sync(&sc->paprd_work); |
1247 | 1249 | ||