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

To prepare for allowing drivers to sleep in
ampdu_action, change the locking in the RX
aggregation code to use a mutex, so that it
would already allow drivers to sleep. But
explicitly disable BHs around the callback
for now since the TX part cannot yet sleep,
and drivers' locking might require it.

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