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>
This commit is contained in:
parent
2f30cac36f
commit
9b850799c1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue