esp_wifi: STA set extra IEs for open AP

This commit is contained in:
Shreyas Sheth 2022-11-15 16:14:14 +05:30
parent 00396a9d49
commit 7252d678a0

View File

@ -175,6 +175,8 @@ int wpa_sta_connect(uint8_t *bssid)
wpa_printf(MSG_DEBUG, "Rejecting bss, validation failed");
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;