diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-03-28 18:01:19 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-13 22:31:49 +0400 |
commit | 133d40f9a22bdfd2617a446f1e3209537c5415ec (patch) | |
tree | f1a1cf510935348bede001983773a879df94fce5 /net/mac80211/ieee80211_i.h | |
parent | f277683477c7bdff8236e731cf882b3ef89dde0d (diff) | |
download | linux-133d40f9a22bdfd2617a446f1e3209537c5415ec.tar.xz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 4be11ea3dfc4..1fd8cb26b3ff 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -1260,6 +1260,7 @@ int ieee80211_request_internal_scan(struct ieee80211_sub_if_data *sdata, int ieee80211_request_scan(struct ieee80211_sub_if_data *sdata, struct cfg80211_scan_request *req); void ieee80211_scan_cancel(struct ieee80211_local *local); +void ieee80211_run_deferred_scan(struct ieee80211_local *local); ieee80211_rx_result ieee80211_scan_rx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb); |