]> Pileus Git - ~andy/linux/commit
mac80211: do not scan and monitor connection in parallel
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 28 Mar 2012 14:01:19 +0000 (16:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:31:49 +0000 (14:31 -0400)
commit133d40f9a22bdfd2617a446f1e3209537c5415ec
treef1a1cf510935348bede001983773a879df94fce5
parentf277683477c7bdff8236e731cf882b3ef89dde0d
mac80211: do not scan and monitor connection in parallel

Before we send probes in connection monitoring we check if scan is not
pending. But we do that check without locking. Fix that and also do not
start scan if connection monitoring is in progress.

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