]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix race in TX aggregation
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 10 Feb 2009 20:25:50 +0000 (21:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Feb 2009 18:45:41 +0000 (13:45 -0500)
commit23e6a7ea5cb1a902d37ab0c783709c178fa834df
tree0fa4e1f792dbfb0d57426b0e2f3c0cb7a2125402
parent86ab6c5a6c5204f6c25281b9039330b8f5e9b692
mac80211: fix race in TX aggregation

When disabling TX aggregation because it was rejected or from
the timer (it was not accepted), there is a window where we
first set the state to operation, unlock, and then undo the
whole thing. Avoid that by splitting up the stop function.
Also get rid of the pointless sta_info indirection in the timer.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-tx.c