Skip to content

Commit 237e4e4

Browse files
krish2718nashif
authored andcommitted
modules: hostap: Fix auto mode without WPA3 enabled
In case WPA3 is disabled in the config but auto security is used, the wifi status shows security as "Unknown". Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 61e544c commit 237e4e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/hostap/src/supp_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ enum wifi_security_type wpas_key_mgmt_to_zephyr(bool is_hapd, void *config, int
406406
} else {
407407
return WIFI_SECURITY_TYPE_SAE_HNP;
408408
}
409+
case WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_PSK:
409410
case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK:
410411
case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK_SHA256:
411412
case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_PSK:

0 commit comments

Comments
 (0)