summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-10 17:39:02 (GMT)
committerJohannes Berg <johannes.berg@intel.com>2012-07-12 10:10:49 (GMT)
commit8e95ea49c94908cb10e698c5637d57f0fbdc796d (patch)
tree597f5817baab936980b6d888bfe695e8a40dc747 /net/mac80211
parent2a9e6c58871df77b69afffad250062853570ee23 (diff)
downloadlinux-fsl-qoriq-8e95ea49c94908cb10e698c5637d57f0fbdc796d.tar.xz
cfg80211: fix locking and lockdep complaints
To call cfg80211_get_chan_state() we need to lock the wdev, so we need to lock the wdev_iter mutex in cfg80211_can_use_iftype_chan(). This needs to use nested locking for lockdep. Also, cfg80211_get_chan_state() doesn't actually use the rdev, so remove that completely including the lock assertion that isn't needed. Reported-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions