Add wpa_deny_ptk0_rekey to AP get_config() output
Signed-off-by: Alexander Wetzel <alexander@wetzel-home.de>
This commit is contained in:
parent
8a1660b607
commit
a5944db04a
1 changed files with 8 additions and 0 deletions
|
@ -1287,6 +1287,14 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
|
|||
pos += ret;
|
||||
}
|
||||
|
||||
if (hapd->conf->wpa && hapd->conf->wpa_deny_ptk0_rekey) {
|
||||
ret = os_snprintf(pos, end - pos, "wpa_deny_ptk0_rekey=%d\n",
|
||||
hapd->conf->wpa_deny_ptk0_rekey);
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return pos - buf;
|
||||
pos += ret;
|
||||
}
|
||||
|
||||
return pos - buf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue