diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-04-24 16:54:20 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-24 16:54:20 +0200 |
commit | 6ed0e321a0aef14a894e26658108bf7e895c36a6 (patch) | |
tree | f49428d68ebcb1beb757296ea1559079210babbe /net/wireless/mlme.c | |
parent | netlink: Fix build with mmap disabled. (diff) | |
parent | mwifiex: rework round robin scheduling of bss nodes. (diff) | |
download | linux-6ed0e321a0aef14a894e26658108bf7e895c36a6.tar.xz linux-6ed0e321a0aef14a894e26658108bf7e895c36a6.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 390198bf4b36..0c7b7dd855f6 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -648,6 +648,11 @@ void cfg80211_mlme_unregister_socket(struct wireless_dev *wdev, u32 nlportid) spin_unlock_bh(&wdev->mgmt_registrations_lock); + if (nlportid && rdev->crit_proto_nlportid == nlportid) { + rdev->crit_proto_nlportid = 0; + rdev_crit_proto_stop(rdev, wdev); + } + if (nlportid == wdev->ap_unexpected_nlportid) wdev->ap_unexpected_nlportid = 0; } |