mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 05:12:12 -05:00
qcacld-3.0: Define AKM suites only if not present in kernel
Define AKM suites WLAN_AKM_SUITE_8021X_SHA256 and WLAN_AKM_SUITE_PSK_SHA256 only if not defined in kernel header in order to avoid compilation issues because of a previous definition. Change-Id: I779a9991763797541fc142e980f717a48fe3bd26 CRs-Fixed: 2033185
This commit is contained in:
parent
0aa0f2c280
commit
7b5bee09c6
1 changed files with 4 additions and 0 deletions
|
|
@ -13346,8 +13346,12 @@ static int wlan_hdd_set_akm_suite(hdd_adapter_t *pAdapter, u32 key_mgmt)
|
|||
{
|
||||
hdd_wext_state_t *pWextState = WLAN_HDD_GET_WEXT_STATE_PTR(pAdapter);
|
||||
|
||||
#ifndef WLAN_AKM_SUITE_8021X_SHA256
|
||||
#define WLAN_AKM_SUITE_8021X_SHA256 0x000FAC05
|
||||
#endif
|
||||
#ifndef WLAN_AKM_SUITE_PSK_SHA256
|
||||
#define WLAN_AKM_SUITE_PSK_SHA256 0x000FAC06
|
||||
#endif
|
||||
/*set key mgmt type */
|
||||
switch (key_mgmt) {
|
||||
case WLAN_AKM_SUITE_PSK:
|
||||
|
|
|
|||
Loading…
Reference in a new issue