]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: use cfg80211 wdev mutex in mac80211
authorJohannes Berg <johannes.berg@intel.com>
Fri, 10 May 2013 10:32:47 +0000 (12:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 24 May 2013 22:02:16 +0000 (00:02 +0200)
commite51e0df22a5c5b18012f39f639443e442220a468
treec3df0dc13fdc8d2327712db10c1c654f428f11a3
parent0403a5ec2fc02d7da5cf310c9190f0b5133860d6
cfg80211/mac80211: use cfg80211 wdev mutex in mac80211

Using separate locks in cfg80211 and mac80211 has always
caused issues, for example having to unlock in places in
mac80211 to call cfg80211, which even needed a framework
to make cfg80211 calls after some functions returned etc.

Additionally, I suspect some issues people have reported
with the cfg80211 state getting confused could be due to
such issues, when cfg80211 is asking mac80211 to change
state but mac80211 is in the process of telling cfg80211
that the state changed (in another way.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
14 files changed:
Documentation/DocBook/80211.tmpl
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/debugfs_netdev.c
net/mac80211/ht.c
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/util.c
net/wireless/mlme.c
net/wireless/trace.h