ath9k: Fix TX queue draining
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / xmit.c
index fd0cf4d854e054e35c958bec134cc329ac1a4dcd..1e813bbf474a699c79804956b3fa3ea3197b578b 100644 (file)
@@ -1108,11 +1108,11 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
        if (npend) {
                int r;
 
-               ath_print(common, ATH_DBG_XMIT,
+               ath_print(common, ATH_DBG_FATAL,
                          "Unable to stop TxDMA. Reset HAL!\n");
 
                spin_lock_bh(&sc->sc_resetlock);
-               r = ath9k_hw_reset(ah, sc->sc_ah->curchan, true);
+               r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);
                if (r)
                        ath_print(common, ATH_DBG_FATAL,
                                  "Unable to reset hardware; reset status %d\n",
This page took 0.025448 seconds and 5 git commands to generate.