Skip to content

Commit 085a8ab

Browse files
committed
esp32: Added WPA-Enterprise.
Signed-off-by: Harald Milz <hm@seneca.muc.de>
1 parent 4f7d830 commit 085a8ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/esp32/network_wlan.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ static mp_obj_t network_wlan_connect(size_t n_args, const mp_obj_t *pos_args, mp
370370
// this will only affect WPA3-personal, not enterprise
371371
wifi_sta_config.sta.threshold.authmode = WIFI_AUTH_WPA3_PSK;
372372
}
373-
} else {
373+
} else {
374374
// WPA2/3 Enterprise
375-
// At the moment (using ESP-IDF 5.4), setting WIFI_AUTH_WPA3_ENTERPRISE in eduroam networks will
375+
// At the moment (using ESP-IDF 5.4), setting WIFI_AUTH_WPA3_ENTERPRISE in eduroam networks will
376376
// actually default to WPA2 because suite B compatibility is not implemented
377377
// The reason is outlined here: https://eduroam.org/eduroam-and-wpa3/
378378
if (args[ARG_wpa3].u_bool == true) {
@@ -960,4 +960,3 @@ MP_DEFINE_CONST_OBJ_TYPE(
960960
);
961961

962962
#endif // MICROPY_PY_NETWORK_WLAN
963-

0 commit comments

Comments
 (0)