qcacmn: Update kernel version check

Kernel version check updated for fils akm suite
to support x86 kernel.

Change-Id: I19f57a91ddda90e3007ec26f35ddec95073df1c5
CRS-Fixed: 2315925
This commit is contained in:
Harprit Chhabada
2018-09-14 15:31:23 -07:00
committed by nshrivas
parent 85e55d12d6
commit 94508fceaf

View File

@@ -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,