ath9k: spin_lock_bh is not required within tasklet context.
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / main.c
index c5cf8639e721ef91facd67cdd85edc9b418b71ef..0f1b624561411b65cc346618493409dd9c44d40f 100644 (file)
@@ -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);
 }
 
This page took 0.052196 seconds and 5 git commands to generate.