aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-02 11:57:44 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-02 11:57:44 (GMT)
commit8d923a4acfb8c43527cc9fe9571ebf341b8e0502 (patch)
tree4bfa7a044e88b9d3c0b0ec8cab743be4369c1d99 /wpa_supplicant/wpas_glue.c
parent59f2caa9258b2212de0f44a71ebaac112ddf9956 (diff)
downloadhostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.zip
hostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.tar.gz
hostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.tar.bz2
Only expire scanned BSSes based on new scan results
Get more information about scans when updating BSS table information. This allows the missing-from-scans expiration rule to work properly when only partial set of channels or SSIDs are being scanned.
Diffstat (limited to 'wpa_supplicant/wpas_glue.c')
-rw-r--r--wpa_supplicant/wpas_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpas_glue.c b/wpa_supplicant/wpas_glue.c
index 34f7bb4..18f1bcd 100644
--- a/wpa_supplicant/wpas_glue.c
+++ b/wpa_supplicant/wpas_glue.c
@@ -348,7 +348,7 @@ 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) < 0) {
+ if (wpa_supplicant_get_scan_results(wpa_s, NULL, 0) < 0) {
return -1;
}