]> git.baikalelectronics.ru Git - kernel.git/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)
commit94042ab3998088c2c29a332cfff6b115ead105cd
treef1a1cf510935348bede001983773a879df94fce5
parent45eb1d9c506cb2a1420070370bf947b42de535a2
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