diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2013-12-26 06:44:40 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-04 00:36:58 +0400 |
commit | b7cc9b972db1525ccb0bddf5750365e427c0902e (patch) | |
tree | 9ae691442d3cf98b6760d5c0100b89648ceb7312 /drivers/net/wireless/ath/ath9k/link.c | |
parent | 0c75997758d865b666a53b5cffcf7d9b9018d3f9 (diff) | |
download | linux-b7cc9b972db1525ccb0bddf5750365e427c0902e.tar.xz |
ath9k: Fix "cc_lock" usage
IRQ save/restore is not required for the cycle counters
since they are accessed only from softirq and process context.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/link.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/link.c b/drivers/net/wireless/ath/ath9k/link.c index c92ca81350de..30dcef5aba10 100644 --- a/drivers/net/wireless/ath/ath9k/link.c +++ b/drivers/net/wireless/ath/ath9k/link.c @@ -362,10 +362,10 @@ void ath_ani_calibrate(unsigned long data) /* Call ANI routine if necessary */ if (aniflag) { - spin_lock_irqsave(&common->cc_lock, flags); + spin_lock(&common->cc_lock); ath9k_hw_ani_monitor(ah, ah->curchan); ath_update_survey_stats(sc); - spin_unlock_irqrestore(&common->cc_lock, flags); + spin_unlock(&common->cc_lock); } /* Perform calibration if necessary */ |