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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index 80639e3e4ac9..9e65c3198ca7 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1954,7 +1954,7 @@ static void ath_tx_complete(struct ath_softc *sc, struct sk_buff *skb,
1954 skb_pull(skb, padsize); 1954 skb_pull(skb, padsize);
1955 } 1955 }
1956 1956
1957 if (sc->ps_flags & PS_WAIT_FOR_TX_ACK) { 1957 if ((sc->ps_flags & PS_WAIT_FOR_TX_ACK) && !txq->axq_depth) {
1958 sc->ps_flags &= ~PS_WAIT_FOR_TX_ACK; 1958 sc->ps_flags &= ~PS_WAIT_FOR_TX_ACK;
1959 ath_dbg(common, ATH_DBG_PS, 1959 ath_dbg(common, ATH_DBG_PS,
1960 "Going back to sleep after having received TX status (0x%lx)\n", 1960 "Going back to sleep after having received TX status (0x%lx)\n",