From: Jouni Malinen Date: Mon, 17 Feb 2020 15:41:51 +0000 (+0200) Subject: Remove duplicated wpa_akm_to_suite() entry X-Git-Tag: hostap_2_10~1802 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=139f6deaff6546c97dbb7a943bf71ea04b76be70;p=thirdparty%2Fhostap.git 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 --- 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; }