]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit297603911dd6465ca79a64a7ec0e6acd9f20bc1b
treef10a936a42a4bd35b39496d64426b61e465c43a6
parente0b2d975c29cf4383a5686286d5654f0c0871a23
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