aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus/dbus_old_handlers.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/dbus/dbus_old_handlers.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/dbus/dbus_old_handlers.c')
-rw-r--r--wpa_supplicant/dbus/dbus_old_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_old_handlers.c b/wpa_supplicant/dbus/dbus_old_handlers.c
index ca2d755..ac79440 100644
--- a/wpa_supplicant/dbus/dbus_old_handlers.c
+++ b/wpa_supplicant/dbus/dbus_old_handlers.c
@@ -361,7 +361,7 @@ DBusMessage * wpas_dbus_iface_scan_results(DBusMessage *message,
/* Ensure we've actually got scan results to return */
if (wpa_s->scan_res == NULL &&
- wpa_supplicant_get_scan_results(wpa_s) < 0) {
+ wpa_supplicant_get_scan_results(wpa_s, NULL, 0) < 0) {
return dbus_message_new_error(message, WPAS_ERROR_SCAN_ERROR,
"An error ocurred getting scan "
"results.");