From c10fe8c1dfaa294290aaeb44885bb7efa4150abc Mon Sep 17 00:00:00 2001 From: Fernando Herrera Date: Sun, 5 Aug 2012 00:43:19 +0300 Subject: [PATCH] D-Bus: Fix wpas_dbus_getter_bss_expire_count bss_expire_count getter was getting a wrong value. Fix it to return bss_expiration_scan_count. intended-for: hostap-1 --- wpa_supplicant/dbus/dbus_new_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c index 3f895cfde..c28ba30b8 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers.c +++ b/wpa_supplicant/dbus/dbus_new_handlers.c @@ -2431,7 +2431,7 @@ dbus_bool_t wpas_dbus_getter_bss_expire_count(DBusMessageIter *iter, void *user_data) { struct wpa_supplicant *wpa_s = user_data; - dbus_uint32_t expire_count = wpa_s->conf->bss_expiration_age; + dbus_uint32_t expire_count = wpa_s->conf->bss_expiration_scan_count; return wpas_dbus_simple_property_getter(iter, DBUS_TYPE_UINT32, &expire_count, error);