]> 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)
commit83819d469c83f726ce556bd4fe66767c3b8ad971
treec3df0dc13fdc8d2327712db10c1c654f428f11a3
parent0f05143634cdb827747ea8a67b643212746c2ecf
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