mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Conditional compilation of akm suites
Currently, in hdd_sta_akm_suites akm suites are added without verifying that these are supported by kernel or not. Support for WLAN_AKM_SUITE_8021X_SUITE_B and WLAN_AKM_SUITE_8021X_SUITE_B_192 akm suites is added from kernel 4.12 that can cause compilation issue for kernel version lesser than 4.12. Fix is to add a check of kernel version for WLAN_AKM_SUITE_8021X_SUITE_B and WLAN_AKM_SUITE_8021X_SUITE_B_192 suites before adding as an element in hdd_sta_akm_suites. Change-Id: Id8c5d1e01da62d63cfe99353e5f9dae5814baaf9 CRs-Fixed: 2667625
This commit is contained in:
parent
932afb3474
commit
89a452fb6d
1 changed files with 2 additions and 0 deletions
|
|
@ -445,8 +445,10 @@ static const u32 hdd_sta_akm_suites[] = {
|
|||
WLAN_AKM_SUITE_TDLS,
|
||||
WLAN_AKM_SUITE_SAE,
|
||||
WLAN_AKM_SUITE_FT_OVER_SAE,
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
|
||||
WLAN_AKM_SUITE_8021X_SUITE_B,
|
||||
WLAN_AKM_SUITE_8021X_SUITE_B_192,
|
||||
#endif
|
||||
WLAN_AKM_SUITE_FILS_SHA256,
|
||||
WLAN_AKM_SUITE_FILS_SHA384,
|
||||
WLAN_AKM_SUITE_FT_FILS_SHA256,
|
||||
|
|
|
|||
Loading…
Reference in a new issue