[PATCH] Fix wpas_dbus_getter_bss_expire_count
Fernando Herrera
fherrera
Sat Jul 21 07:41:42 PDT 2012
bss_expire_count getter was geting wrong value. Fix to return bss_expiration_scan_count
---
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 8145a70..1f13c5a 100644
--- a/wpa_supplicant/dbus/dbus_new_handlers.c
+++ b/wpa_supplicant/dbus/dbus_new_handlers.c
@@ -2430,7 +2430,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);
--
1.7.9.5
More information about the Hostap
mailing list