source: branches/backfire/package/mac80211/patches/520-ath9k_leak_fix.patch @ 22391

Last change on this file since 22391 was 22391, checked in by nbd, 6 years ago

mac80211: backport latest version from trunk into backfire

File size: 922 bytes
  • drivers/net/wireless/ath/ath9k/xmit.c

    a b static void ath_tx_complete_aggr(struct  
    518518                bf = bf_next; 
    519519        } 
    520520 
     521        /* prepend un-acked frames to the beginning of the pending frame queue */ 
     522        if (!list_empty(&bf_pending)) { 
     523                spin_lock_bh(&txq->axq_lock); 
     524                list_splice(&bf_pending, &tid->buf_q); 
     525                ath_tx_queue_tid(txq, tid); 
     526                spin_unlock_bh(&txq->axq_lock); 
     527        } 
     528 
    521529        if (tid->state & AGGR_CLEANUP) { 
    522530                if (tid->baw_head == tid->baw_tail) { 
    523531                        tid->state &= ~AGGR_ADDBA_COMPLETE; 
    static void ath_tx_complete_aggr(struct  
    530538                return; 
    531539        } 
    532540 
    533         /* prepend un-acked frames to the beginning of the pending frame queue */ 
    534         if (!list_empty(&bf_pending)) { 
    535                 spin_lock_bh(&txq->axq_lock); 
    536                 list_splice(&bf_pending, &tid->buf_q); 
    537                 ath_tx_queue_tid(txq, tid); 
    538                 spin_unlock_bh(&txq->axq_lock); 
    539         } 
    540  
    541541        rcu_read_unlock(); 
    542542 
    543543        if (needreset) 
Note: See TracBrowser for help on using the repository browser.