]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: run scan after finish connection monitoring
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 16 May 2012 13:27:20 +0000 (15:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jun 2012 19:21:18 +0000 (15:21 -0400)
commitfcc4f4d12d842c6ee321d9d5690a70e281ba99ff
treeac410037bd1fe1377b2b32688a0c5e40e5f2f149
parentb7dc9622e4c3808ef905a72fda997b5fc0c6f7d2
mac80211: run scan after finish connection monitoring

commit 64d748565c2b2b19e306081997c3a7c0cd1d3207
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Wed Mar 28 16:01:19 2012 +0200

    mac80211: do not scan and monitor connection in parallel

add bug, which make possible to start a scan and never finish it, so
make every new scanning request finish with -EBUSY error. This can
happen on code paths where we finish connection monitoring and clear
IEEE80211_STA_*_POLL flags, but do not check if scan was deferred.
This patch fixes those code paths.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c