aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2014-01-03 06:55:51 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-03 06:55:51 (GMT)
commit9b850799c12c3b326928efd37ee6b9443c178be8 (patch)
tree4d55e0fcd3d07ddad9db3d724d3ea14b3d9c054b /wpa_supplicant
parent2f30cac36f9209b0b2849b5e12931cc9e98b8a76 (diff)
downloadhostap-9b850799c12c3b326928efd37ee6b9443c178be8.zip
hostap-9b850799c12c3b326928efd37ee6b9443c178be8.tar.gz
hostap-9b850799c12c3b326928efd37ee6b9443c178be8.tar.bz2
Fix scan-cache-clearing operation to avoid unnecessary cases
wpa_drv_scan() success case was supposed to clear wpa_s->clear_driver_scan_cache, not params->only_new_results (which would do nothing here). Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/scan.c b/wpa_supplicant/scan.c
index 167ab9d..7e3496e 100644
--- a/wpa_supplicant/scan.c
+++ b/wpa_supplicant/scan.c
@@ -166,7 +166,7 @@ int wpa_supplicant_trigger_scan(struct wpa_supplicant *wpa_s,
wpa_s->scan_runs++;
wpa_s->normal_scans++;
wpa_s->own_scan_requested = 1;
- params->only_new_results = 0;
+ wpa_s->clear_driver_scan_cache = 0;
}
return ret;