Johannes Berg 8e95ea49c9 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>
2012-07-12 12:10:49 +02:00
..
2012-07-12 12:10:41 +02:00
2012-06-05 15:32:15 -04:00
2012-06-29 13:39:14 +02:00
2012-07-09 14:51:47 +02:00
2012-07-12 12:10:41 +02:00
2012-07-12 12:10:41 +02:00
2012-07-02 15:11:11 +02:00
2012-07-12 12:10:41 +02:00
2012-07-12 12:10:41 +02:00
2010-01-17 19:16:02 -08:00
2012-06-06 15:18:17 -04:00