]> 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)
commit64d748565c2b2b19e306081997c3a7c0cd1d3207
treef1a1cf510935348bede001983773a879df94fce5
parentbcd5989377b27a62f8a7c44b39790b170b0dd253
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