From 139f6deaff6546c97dbb7a943bf71ea04b76be70 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 17 Feb 2020 17:41:51 +0200 Subject: [PATCH] Remove duplicated wpa_akm_to_suite() entry This was unreachable code due to the previous WPA_KEY_MGTM_OWE case returning from the function. Signed-off-by: Jouni Malinen --- src/common/wpa_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/wpa_common.c b/src/common/wpa_common.c index 5ecb1eceb..83bac5489 100644 --- a/src/common/wpa_common.c +++ b/src/common/wpa_common.c @@ -2100,8 +2100,6 @@ u32 wpa_akm_to_suite(int akm) return RSN_AUTH_KEY_MGMT_OWE; if (akm & WPA_KEY_MGMT_DPP) return RSN_AUTH_KEY_MGMT_DPP; - if (akm & WPA_KEY_MGMT_OSEN) - return RSN_AUTH_KEY_MGMT_OSEN; return 0; } -- 2.47.2