]> Git Repo - linux.git/commitdiff
mac80211: remove bogus TX agg state assignment
authorJohannes Berg <[email protected]>
Mon, 19 Apr 2010 08:48:38 +0000 (10:48 +0200)
committerJohn W. Linville <[email protected]>
Mon, 19 Apr 2010 20:34:11 +0000 (16:34 -0400)
When the addba timer expires but has no work to do,
it should not affect the state machine. If it does,
TX will not see the successfully established and we
can also crash trying to re-establish the session.

Cc: [email protected] [2.6.32, 2.6.33]
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
net/mac80211/agg-tx.c

index 5538e1b4a697740535b0be966a90719cec3dafc5..944a8a92207ba93298848e2f74c41496eb19c079 100644 (file)
@@ -183,7 +183,6 @@ static void sta_addba_resp_timer_expired(unsigned long data)
                       HT_AGG_STATE_REQ_STOP_BA_MSK)) !=
                                                HT_ADDBA_REQUESTED_MSK) {
                spin_unlock_bh(&sta->lock);
-               *state = HT_AGG_STATE_IDLE;
 #ifdef CONFIG_MAC80211_HT_DEBUG
                printk(KERN_DEBUG "timer expired on tid %d but we are not "
                                "(or no longer) expecting addBA response there",
This page took 0.060398 seconds and 4 git commands to generate.