]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
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)
commit65e8d5b8cbff766628dad7d366986676f18b1e89
tree37c419fe76204707e4bb18578ab535c7b94ce4d7
parenta42c74ee608a424342ef7069ccddf196d873040c
cfg80211: fix P2P-Device stop locking

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>
net/wireless/nl80211.c