cfg80211/mac80211: correct qos-map locking
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 Dec 2013 22:12:37 +0000 (23:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 30 Dec 2013 22:14:03 +0000 (23:14 +0100)
commit194ff52d42fd0b55fe0fcfbf4586ae9d7ab1f780
treeeddb4c40ce1cc7a8aa590b1aeaf162a8a8bdba5a
parent32db6b54dfba38aa8fa4072b2a3fc6425139166a
cfg80211/mac80211: correct qos-map locking

Since the RTNL can't always be held, use wdev/sdata locking for
the qos-map dereference in mac80211. This requires cfg80211 to
consistently lock it, which it was missing in one place.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/wireless/util.c