mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_wifi: STA set extra IEs for open AP
This commit is contained in:
parent
5c2a41d659
commit
046e28fa70
@ -197,6 +197,8 @@ int wpa_sta_connect(uint8_t *bssid)
|
|||||||
wpa_printf(MSG_DEBUG, "Rejecting bss, validation failed");
|
wpa_printf(MSG_DEBUG, "Rejecting bss, validation failed");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
} else if (esp_wifi_sta_get_prof_authmode_internal() == NONE_AUTH) {
|
||||||
|
esp_set_assoc_ie((uint8_t *)bssid, NULL, 0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user