]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit925e64c3c512e9f4452eaa7d52fd4c1518b8fb11
treeac410037bd1fe1377b2b32688a0c5e40e5f2f149
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
mac80211: run scan after finish connection monitoring

commit 133d40f9a22bdfd2617a446f1e3209537c5415ec
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