Changeset 36977


Ignore:
Timestamp:
2013-06-20T15:10:31+02:00 (5 years ago)
Author:
nbd
Message:

ath9k: fix cabq depth accounting

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/300-pending_work.patch

    r36939 r36977  
    282282 struct sta_ampdu_mlme { 
    283283        struct mutex mtx; 
     284--- a/drivers/net/wireless/ath/ath9k/xmit.c 
     285+++ b/drivers/net/wireless/ath/ath9k/xmit.c 
     286@@ -1778,9 +1778,13 @@ static void ath_tx_txqaddbuf(struct ath_ 
     287        } 
     288  
     289        if (!internal) { 
     290-               txq->axq_depth++; 
     291-               if (bf_is_ampdu_not_probing(bf)) 
     292-                       txq->axq_ampdu_depth++; 
     293+               while (bf) { 
     294+                       txq->axq_depth++; 
     295+                       if (bf_is_ampdu_not_probing(bf)) 
     296+                               txq->axq_ampdu_depth++; 
     297+ 
     298+                       bf = bf->bf_lastbf->bf_next; 
     299+               } 
     300        } 
     301 } 
     302  
Note: See TracChangeset for help on using the changeset viewer.