diff options
author | Sujith Manoharan | 2013-12-26 03:44:40 +0100 |
---|---|---|
committer | John W. Linville | 2014-01-03 21:36:58 +0100 |
commit | b7cc9b972db1525ccb0bddf5750365e427c0902e (patch) | |
tree | 9ae691442d3cf98b6760d5c0100b89648ceb7312 /drivers/net/wireless/ath/ath9k/link.c | |
parent | ath9k: Process BB watchdog events in the tasklet (diff) | |
download | kernel-qcow2-linux-b7cc9b972db1525ccb0bddf5750365e427c0902e.tar.gz kernel-qcow2-linux-b7cc9b972db1525ccb0bddf5750365e427c0902e.tar.xz kernel-qcow2-linux-b7cc9b972db1525ccb0bddf5750365e427c0902e.zip |
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 */ |