From 94508fceaf84d1c0fe37c7544db8c211bce319f6 Mon Sep 17 00:00:00 2001 From: Harprit Chhabada Date: Fri, 14 Sep 2018 15:31:23 -0700 Subject: [PATCH] qcacmn: Update kernel version check Kernel version check updated for fils akm suite to support x86 kernel. Change-Id: I19f57a91ddda90e3007ec26f35ddec95073df1c5 CRS-Fixed: 2315925 --- os_if/linux/crypto/src/wlan_nl_to_crypto_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os_if/linux/crypto/src/wlan_nl_to_crypto_params.c b/os_if/linux/crypto/src/wlan_nl_to_crypto_params.c index ca8c77217b..90aa67c8ee 100644 --- a/os_if/linux/crypto/src/wlan_nl_to_crypto_params.c +++ b/os_if/linux/crypto/src/wlan_nl_to_crypto_params.c @@ -133,7 +133,7 @@ static const struct osif_akm_type_crypto_mapping .akm_type_crypto = WLAN_CRYPTO_KEY_MGMT_IEEE8021X_SUITE_B_192, }, #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)) || \ +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)) || \ defined(FEATURE_WLAN_FILS) { .akm_suite = WLAN_AKM_SUITE_FILS_SHA256,