mac80211: unify scan and work mutexes
authorJohannes Berg <johannes.berg@intel.com>
Fri, 30 Jul 2010 14:46:07 +0000 (16:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:37 +0000 (15:26 -0400)
commita1699b75a1db31a1da2f0fc610ee696d02a19280
treef10a936a42a4bd35b39496d64426b61e465c43a6
parentc240879f3488ae0904a7ba5bdaaa54638b2d8852
mac80211: unify scan and work mutexes

Having both scan and work mutexes is not just
a bit too fine grained, it also creates issues
when there's code that needs both since they
then need to be acquired in the right order,
which can be hard to do.

Therefore, use just a single mutex for both.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/scan.c
net/mac80211/work.c