Fix scan-cache-clearing operation to avoid unnecessary cases
authorJouni Malinen <j@w1.fi>
Fri, 3 Jan 2014 06:55:51 +0000 (08:55 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 3 Jan 2014 06:55:51 +0000 (08:55 +0200)
commit9b850799c12c3b326928efd37ee6b9443c178be8
tree4d55e0fcd3d07ddad9db3d724d3ea14b3d9c054b
parent2f30cac36f9209b0b2849b5e12931cc9e98b8a76
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>
wpa_supplicant/scan.c