]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: defer TX agg session teardown to work
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:47 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:28 +0000 (15:39 -0400)
commit83a5cbf73a13d0c8be019b22afec4407e4285aed
tree3ac77e38aa5dd7891b101f45e963df7b9a5b9d38
parenta93e364430de7f7a5f4eedd604ad1ab3d825dde5
mac80211: defer TX agg session teardown to work

Since we want the code to be able to sleep
in the future, it must not be called from
the timer directly. To achieve that, simply
call the function drivers would call, and
also use RCU in the timer to get the struct
so we don't need to rely on the spinlock in
the future.

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