mac80211: refcount aggregation queue stop
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:41 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:27 +0000 (15:39 -0400)
commita6a67db2bc89d2b1ff07e0817f11235c20d2c329
tree1096c42ede83af4dbae34387246f91c0d6649baf
parent5d22c89b9bea17a0e48e7534a9b237885e2c0809
mac80211: refcount aggregation queue stop

mac80211 currently maintains the ampdu_lock to
avoid starting a queue due to one aggregation
session while another aggregation session needs
the queue stopped.

We can do better, however, and instead refcount
the queue stops for this particular purpose,
thus removing the need for the lock. This will
help making ampdu_action able to sleep.

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/ieee80211_i.h
net/mac80211/main.c