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 <gaofeng.zhang@nxp.com>
This commit is contained in:
parent
31d24eb186
commit
94386e103e
1 changed files with 4 additions and 0 deletions
|
|
@ -348,6 +348,10 @@ static inline int chan_to_freq(int chan)
|
|||
static inline enum wifi_frequency_bands wpas_band_to_zephyr(enum wpa_radio_work_band band)
|
||||
{
|
||||
switch (band) {
|
||||
case WPA_KEY_MGMT_IEEE8021X:
|
||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B:
|
||||
case WPA_KEY_MGMT_IEEE8021X_SUITE_B_192:
|
||||
return WIFI_SECURITY_TYPE_EAP_TLS;
|
||||
case BAND_2_4_GHZ:
|
||||
return WIFI_FREQ_BAND_2_4_GHZ;
|
||||
case BAND_5_GHZ:
|
||||
|
|
|
|||
Loading…
Reference in a new issue