aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dbus
diff options
context:
space:
mode:
authorFernando Herrera <fherrera@onirica.com>2012-08-04 21:43:19 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-04 21:43:19 (GMT)
commitc10fe8c1dfaa294290aaeb44885bb7efa4150abc (patch)
treea8381b4567a9d731c21cfd86443d1dab1e1a7349 /wpa_supplicant/dbus
parent55651a4bedd3fc9f9108f3a434ef42c08966116c (diff)
downloadhostap-c10fe8c1dfaa294290aaeb44885bb7efa4150abc.zip
hostap-c10fe8c1dfaa294290aaeb44885bb7efa4150abc.tar.gz
hostap-c10fe8c1dfaa294290aaeb44885bb7efa4150abc.tar.bz2
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
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r--wpa_supplicant/dbus/dbus_new_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers.c b/wpa_supplicant/dbus/dbus_new_handlers.c
index 3f895cf..c28ba30 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);