aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-02 14:41:38 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-02 14:41:38 (GMT)
commita1fd2ce54e2241347faf7060234a37f051ce1324 (patch)
tree2c915c67218562f7d2c186de3ace9f7b6b593801 /wpa_supplicant/wpas_glue.c
parent6fa81a3b3f4297f814f0b910db46dcaebe382018 (diff)
downloadhostap-a1fd2ce54e2241347faf7060234a37f051ce1324.zip
hostap-a1fd2ce54e2241347faf7060234a37f051ce1324.tar.gz
hostap-a1fd2ce54e2241347faf7060234a37f051ce1324.tar.bz2
Do not store raw scan results
Use scan results to update the BSS table and to select the BSS for connection, but do not store the results for longer time.
Diffstat (limited to 'wpa_supplicant/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index b8a867d..dad73b7 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -343,9 +343,8 @@ static int wpa_supplicant_get_beacon_ie(void *ctx)
/* No WPA/RSN IE found in the cached scan results. Try to get updated
* scan results from the driver. */
- if (wpa_supplicant_get_scan_results(wpa_s, NULL, 0) < 0) {
+ if (wpa_supplicant_update_scan_results(wpa_s) < 0)
return -1;
- }
return wpa_get_beacon_ie(wpa_s);
}