From 0ec506961ede4930431d4f2f9f4e336c9a7feb5f Mon Sep 17 00:00:00 2001 From: jgujarathi Date: Wed, 1 Feb 2023 12:12:29 +0530 Subject: [PATCH] wpa_supplicant : Correct scan results for GCMP RSN Fixed a typo which was causing scan results for GCMP not showing correctly --- components/wpa_supplicant/src/common/wpa_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/wpa_supplicant/src/common/wpa_common.c b/components/wpa_supplicant/src/common/wpa_common.c index 4cdf7ab388..3ad33cf5a5 100644 --- a/components/wpa_supplicant/src/common/wpa_common.c +++ b/components/wpa_supplicant/src/common/wpa_common.c @@ -270,7 +270,7 @@ static int rsn_selector_to_bitfield(const u8 *s) return WPA_CIPHER_CCMP; if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_WEP104) return WPA_CIPHER_WEP104; -#ifdef COFIG_GCMP +#ifdef CONFIG_GCMP if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_GCMP) return WPA_CIPHER_GCMP; if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_GCMP_256) @@ -279,7 +279,7 @@ static int rsn_selector_to_bitfield(const u8 *s) #ifdef CONFIG_IEEE80211W if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_AES_128_CMAC) return WPA_CIPHER_AES_128_CMAC; -#ifdef COFIG_GMAC +#ifdef CONFIG_GMAC if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_BIP_GMAC_128) return WPA_CIPHER_BIP_GMAC_128; if (RSN_SELECTOR_GET(s) == RSN_CIPHER_SUITE_BIP_GMAC_256)