aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index f2ade2402ce2..e662ecade398 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1148,13 +1148,13 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
1148 ath_print(common, ATH_DBG_FATAL, 1148 ath_print(common, ATH_DBG_FATAL,
1149 "Failed to stop TX DMA. Resetting hardware!\n"); 1149 "Failed to stop TX DMA. Resetting hardware!\n");
1150 1150
1151 spin_lock_bh(&sc->sc_resetlock); 1151 spin_lock_bh(&sc->rx.pcu_lock);
1152 r = ath9k_hw_reset(ah, sc->sc_ah->curchan, ah->caldata, false); 1152 r = ath9k_hw_reset(ah, sc->sc_ah->curchan, ah->caldata, false);
1153 if (r) 1153 if (r)
1154 ath_print(common, ATH_DBG_FATAL, 1154 ath_print(common, ATH_DBG_FATAL,
1155 "Unable to reset hardware; reset status %d\n", 1155 "Unable to reset hardware; reset status %d\n",
1156 r); 1156 r);
1157 spin_unlock_bh(&sc->sc_resetlock); 1157 spin_unlock_bh(&sc->rx.pcu_lock);
1158 } 1158 }
1159 1159
1160 for (i = 0; i < ATH9K_NUM_TX_QUEUES; i++) { 1160 for (i = 0; i < ATH9K_NUM_TX_QUEUES; i++) {