mac80211: fix dialog token allocator
authorJohannes Berg <johannes.berg@intel.com>
Mon, 31 May 2010 10:00:12 +0000 (12:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jun 2010 18:33:02 +0000 (14:33 -0400)
commit51a0d38de26226f2779912d92f155b93d539da9a
tree9f74cc26000dcebf79c93081c9afa62b787895ff
parent8ae5977ff95c03fe6c36a5721c57dcb4bfe4f290
mac80211: fix dialog token allocator

The dialog token allocator has apparently been broken
since b83f4e15 ("mac80211: fix deadlock in sta->lock")
because it got moved out under the spinlock. Fix it.

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