From 0a92e6f908f4eb2d384684ba6dc852c7cf338a89 Mon Sep 17 00:00:00 2001 From: Gang Li Date: Mon, 19 Jan 2026 12:39:41 +0100 Subject: [PATCH] modules: hostap: Fix DPP show UNKNOWN security type after reconfiguration In case DPP reconfiguration test, if the dpp_akm has psk, it will set WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_FT_PSK to key_mgmt, then wifi status shows security as "Unknown". Signed-off-by: Gang Li --- modules/hostap/src/supp_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hostap/src/supp_api.c b/modules/hostap/src/supp_api.c index 0dced93f4be..7d6d7b66256 100644 --- a/modules/hostap/src/supp_api.c +++ b/modules/hostap/src/supp_api.c @@ -419,6 +419,7 @@ enum wifi_security_type wpas_key_mgmt_to_zephyr(bool is_hapd, void *config, int } return WIFI_SECURITY_TYPE_UNKNOWN; case WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_PSK: + case WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_FT_PSK: case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK: case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK_SHA256: case WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK_SHA256 | WPA_KEY_MGMT_PSK: