Ignore:
Timestamp:
2010-09-20T19:32:18+02:00 (6 years ago)
Author:
nbd
Message:

ath9k: fix a warning during a failed aggregation start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/521-ath9k_aggr_race_fix.patch

    r23097 r23100  
    4242--- a/drivers/net/wireless/ath/ath9k/main.c 
    4343+++ b/drivers/net/wireless/ath/ath9k/main.c 
    44 @@ -1968,7 +1968,7 @@ static int ath9k_ampdu_action(struct iee 
     44@@ -1968,8 +1968,9 @@ static int ath9k_ampdu_action(struct iee 
    4545                break; 
    4646        case IEEE80211_AMPDU_TX_START: 
    4747                ath9k_ps_wakeup(sc); 
    4848-               ath_tx_aggr_start(sc, sta, tid, ssn); 
     49-               ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); 
    4950+               ret = ath_tx_aggr_start(sc, sta, tid, ssn); 
    50                 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); 
     51+               if (!ret) 
     52+                       ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); 
    5153                ath9k_ps_restore(sc); 
    5254                break; 
     55        case IEEE80211_AMPDU_TX_STOP: 
Note: See TracChangeset for help on using the changeset viewer.