mac80211: change TX aggregation locking
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:48 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:28 +0000 (15:39 -0400)
commitcfcdbde35e2b621cf56bedc38a3a81e8c28addb9
treecd0664681dc4629f7ce9a3319868eebb005060ff
parent83a5cbf73a13d0c8be019b22afec4407e4285aed
mac80211: change TX aggregation locking

To prepare for allowing drivers to sleep in
ampdu_action, change the locking in the TX
aggregation code to use the mutex the RX part
already uses. The spinlock is still necessary
around some code to avoid races with TX, but
now we can also synchronize_net() to avoid
getting an inconsistent sequence number.

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