mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix compilation error when FEATURE_WLAN_TDLS is disabled
STA_ENTRY_TDLS_PEER is used out of FEATURE_WLAN_TDLS, compilation will fail when disable FEATURE_WLAN_TDLS. Add fix to resolve this issue. Change-Id: I2e4766ba3f7810038304d22c4dee1035284b3e05 CRs-Fixed: 2023187
This commit is contained in:
parent
ce040b906b
commit
a1863be43c
1 changed files with 7 additions and 1 deletions
|
|
@ -63,6 +63,12 @@
|
|||
#include "lim_types.h"
|
||||
#include "wlan_utility.h"
|
||||
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
#define IS_TDLS_PEER(type) ((type) == STA_ENTRY_TDLS_PEER)
|
||||
#else
|
||||
#define IS_TDLS_PEER(type) 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* lim_cmp_ssid() - utility function to compare SSIDs
|
||||
* @rx_ssid: Received SSID
|
||||
|
|
@ -2582,7 +2588,7 @@ lim_del_sta(tpAniSirGlobal pMac,
|
|||
if (!fRespReqd)
|
||||
pDelStaParams->respReqd = 0;
|
||||
else {
|
||||
if (pStaDs->staType != STA_ENTRY_TDLS_PEER) {
|
||||
if (!(IS_TDLS_PEER(pStaDs->staType))) {
|
||||
/* when lim_del_sta is called from processSmeAssocCnf
|
||||
* then mlmState is already set properly. */
|
||||
if (eLIM_MLM_WT_ASSOC_DEL_STA_RSP_STATE !=
|
||||
|
|
|
|||
Loading…
Reference in a new issue