diff options
author | Senthil Balasubramanian <senthilkumar@atheros.com> | 2010-12-23 15:36:57 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-04 19:35:11 (GMT) |
commit | 52671e43dbfb0e0dfa5fab604cb3984bd1d777a6 (patch) | |
tree | b08043cd80ff739e2aea2861fd184e1f17421894 | |
parent | cd017f25e391dfabaca185bb4a5aefd02fd6c0ca (diff) | |
download | linux-fsl-qoriq-52671e43dbfb0e0dfa5fab604cb3984bd1d777a6.tar.xz |
ath9k: spin_lock_bh is not required within tasklet context.
Disabling BH is not required while running from a tasklet context
and so replace spin_lock_bh with just spin_lock.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index c5cf863..0f1b624 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -599,7 +599,7 @@ void ath9k_tasklet(unsigned long data) return; } - spin_lock_bh(&sc->sc_pcu_lock); + spin_lock(&sc->sc_pcu_lock); if (!ath9k_hw_check_alive(ah)) ieee80211_queue_work(sc->hw, &sc->hw_check_work); @@ -643,7 +643,7 @@ void ath9k_tasklet(unsigned long data) /* re-enable hardware interrupt */ ath9k_hw_enable_interrupts(ah); - spin_unlock_bh(&sc->sc_pcu_lock); + spin_unlock(&sc->sc_pcu_lock); ath9k_ps_restore(sc); } |