Replace HOSTAPD_MAX_SSID_LEN with SSID_MAX_LEN
This makes source code more consistent. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
6fb761c690
commit
81847c22ba
4 changed files with 8 additions and 9 deletions
|
@ -324,7 +324,7 @@ static int hapd_wps_reconfig_in_memory(struct hostapd_data *hapd,
|
|||
wpa_printf(MSG_DEBUG, "WPS: Updating in-memory configuration");
|
||||
|
||||
bss->wps_state = 2;
|
||||
if (cred->ssid_len <= HOSTAPD_MAX_SSID_LEN) {
|
||||
if (cred->ssid_len <= SSID_MAX_LEN) {
|
||||
os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len);
|
||||
bss->ssid.ssid_len = cred->ssid_len;
|
||||
bss->ssid.ssid_set = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue