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
This commit is contained in:
parent
55651a4bed
commit
c10fe8c1df
1 changed files with 1 additions and 1 deletions
|
@ -2431,7 +2431,7 @@ dbus_bool_t wpas_dbus_getter_bss_expire_count(DBusMessageIter *iter,
|
||||||
void *user_data)
|
void *user_data)
|
||||||
{
|
{
|
||||||
struct wpa_supplicant *wpa_s = 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,
|
return wpas_dbus_simple_property_getter(iter, DBUS_TYPE_UINT32,
|
||||||
&expire_count, error);
|
&expire_count, error);
|
||||||
|
|
Loading…
Reference in a new issue