• Johannes Berg's avatar
    cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
    Johannes Berg authored
    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: default avatarJohannes Berg <johannes.berg@intel.com>
    8d61ffa5
mesh.c 28.9 KB