Skip to content

Commit 94386e1

Browse files
GaofengZhangNXPfabiobaltieri
authored andcommitted
zephyr: hostap: fix eap secure mode print UNKNOWN
wpas_key_mgmt_to_zephyr doesn't support eap secure mode, add code to support eap secure mode. Signed-off-by: Gaofeng Zhang <[email protected]>
1 parent 31d24eb commit 94386e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/hostap/src/supp_api.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@ static inline int chan_to_freq(int chan)
348348
static inline enum wifi_frequency_bands wpas_band_to_zephyr(enum wpa_radio_work_band band)
349349
{
350350
switch (band) {
351+
case WPA_KEY_MGMT_IEEE8021X:
352+
case WPA_KEY_MGMT_IEEE8021X_SUITE_B:
353+
case WPA_KEY_MGMT_IEEE8021X_SUITE_B_192:
354+
return WIFI_SECURITY_TYPE_EAP_TLS;
351355
case BAND_2_4_GHZ:
352356
return WIFI_FREQ_BAND_2_4_GHZ;
353357
case BAND_5_GHZ:

0 commit comments

Comments
 (0)