cfg80211: fix P2P-Device stop locking
authorJohannes Berg <johannes.berg@intel.com>
Fri, 19 Apr 2013 10:18:19 +0000 (12:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 22 Apr 2013 13:31:47 +0000 (15:31 +0200)
cfg80211_stop_p2p_device() requires the devlist_mtx to
be held, but nl80211_stop_p2p_device() doesn't acquire
it which is a locking error and causes a warning (when
lockdep is enabled). Fix this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found