]> 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)
commitb72bfa63b8fe18643ad30de5e5a127f7f63161c1
treeac410037bd1fe1377b2b32688a0c5e40e5f2f149
parenta37c45859bb7a3b7a6d3c2dc0a4466159cbaa6fe
mac80211: run scan after finish connection monitoring

commit 94042ab3998088c2c29a332cfff6b115ead105cd
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