]> git.baikalelectronics.ru Git - kernel.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)
commitb167a44646557bfd61b505864ed003ab6f808f43
tree0fa4e1f792dbfb0d57426b0e2f3c0cb7a2125402
parent6e93608a9dc80d235255a448bb48821eafb0d9c5
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