diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-04-08 14:26:57 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-08 14:26:57 -0400 |
commit | 64e5751918b4d03015b185750a46ecd050e1ce77 (patch) | |
tree | 59faf25665e51414479b138a3c2e3bc8b388a9ed /net | |
parent | b50b72de2f2feed4adfbd8e18610a393b5a04cc7 (diff) | |
parent | 69a2bac8984c4e6dba78b330ed183fd580c65e99 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/sme.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index 09d994d192ff..482c70e70127 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c | |||
@@ -224,6 +224,7 @@ void cfg80211_conn_work(struct work_struct *work) | |||
224 | rtnl_lock(); | 224 | rtnl_lock(); |
225 | cfg80211_lock_rdev(rdev); | 225 | cfg80211_lock_rdev(rdev); |
226 | mutex_lock(&rdev->devlist_mtx); | 226 | mutex_lock(&rdev->devlist_mtx); |
227 | mutex_lock(&rdev->sched_scan_mtx); | ||
227 | 228 | ||
228 | list_for_each_entry(wdev, &rdev->wdev_list, list) { | 229 | list_for_each_entry(wdev, &rdev->wdev_list, list) { |
229 | wdev_lock(wdev); | 230 | wdev_lock(wdev); |
@@ -248,6 +249,7 @@ void cfg80211_conn_work(struct work_struct *work) | |||
248 | wdev_unlock(wdev); | 249 | wdev_unlock(wdev); |
249 | } | 250 | } |
250 | 251 | ||
252 | mutex_unlock(&rdev->sched_scan_mtx); | ||
251 | mutex_unlock(&rdev->devlist_mtx); | 253 | mutex_unlock(&rdev->devlist_mtx); |
252 | cfg80211_unlock_rdev(rdev); | 254 | cfg80211_unlock_rdev(rdev); |
253 | rtnl_unlock(); | 255 | rtnl_unlock(); |