From: Johannes Berg Date: Tue, 10 Jul 2012 17:39:02 +0000 (+0200) Subject: cfg80211: fix locking and lockdep complaints X-Git-Tag: v3.6-rc1~125^2~57^2~77^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e95ea49c94908cb10e698c5637d57f0fbdc796d;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed