mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
WPS: Added WPS into key_mgmt config write handler
This commit is contained in:
parent
fcc60db4eb
commit
728fae1631
@ -630,6 +630,12 @@ static char * wpa_config_write_key_mgmt(const struct parse_data *data,
|
|||||||
pos == buf ? "" : " ");
|
pos == buf ? "" : " ");
|
||||||
#endif /* CONFIG_IEEE80211W */
|
#endif /* CONFIG_IEEE80211W */
|
||||||
|
|
||||||
|
#ifdef CONFIG_WPS
|
||||||
|
if (ssid->key_mgmt & WPA_KEY_MGMT_WPS)
|
||||||
|
pos += os_snprintf(pos, end - pos, "%sWPS",
|
||||||
|
pos == buf ? "" : " ");
|
||||||
|
#endif /* CONFIG_WPS */
|
||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
#endif /* NO_CONFIG_WRITE */
|
#endif /* NO_CONFIG_WRITE */
|
||||||
|
Loading…
Reference in New Issue
Block a user