ath9k: don't use BAW tracking on PS responses for non-AMPDU packets
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / xmit.c
index 58499603f70506c1e046312ef529a920464f482d..9b3736ea2aafdd871707dd44e6724c1198e7a253 100644 (file)
@@ -1556,8 +1556,10 @@ void ath9k_release_buffered_frames(struct ieee80211_hw *hw,
                        __skb_unlink(bf->bf_mpdu, tid_q);
                        list_add_tail(&bf->list, &bf_q);
                        ath_set_rates(tid->an->vif, tid->an->sta, bf);
-                       ath_tx_addto_baw(sc, tid, bf);
-                       bf->bf_state.bf_type &= ~BUF_AGGR;
+                       if (bf_isampdu(bf)) {
+                               ath_tx_addto_baw(sc, tid, bf);
+                               bf->bf_state.bf_type &= ~BUF_AGGR;
+                       }
                        if (bf_tail)
                                bf_tail->bf_next = bf;
 
This page took 0.03253 seconds and 5 git commands to generate.