summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Yingying <yintang@codeaurora.org>2017-01-17 23:57:12 +0800
committerqcabuildsw <qcabuildsw@localhost>2017-02-08 21:28:34 -0800
commitc7b8bfcef15d2543c97b6f0ddfee1b96b149b141 (patch)
treea22e1759a8330160e154085e7a074641117c3e7d
parent0970b07a4e4de43ed24abe1519be6e6e5d006468 (diff)
qcacld-3.0: Move WLAN_FEATURE_LINK_LAYER_STATS out of FEATURE_WLAN_TDLS
WLAN_FEATURE_LINK_LAYER_STATS is included in FEATURE_WLAN_TDLS in wlan_hdd_cfg80211.h. It will lead cmpilation error when FEATURE_WLAN_TDLS is disabled.Since WLAN_FEATURE_LINK_LAYER_STATS doesn't depend on FEATURE_WLAN_TDLS, move WLAN_FEATURE_LINK_LAYER_STATS out of FEATURE_WLAN_TDLS to resolve this issue. Change-Id: I14f4b69a9868fcef7bf2aa9813ef562ad265acd9 CRs-Fixed: 1112463
-rw-r--r--core/hdd/src/wlan_hdd_cfg80211.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_cfg80211.h b/core/hdd/src/wlan_hdd_cfg80211.h
index a417778c61ed..bafaca1e0491 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.h
+++ b/core/hdd/src/wlan_hdd_cfg80211.h
@@ -124,14 +124,15 @@ typedef struct {
#if !defined (TDLS_MGMT_VERSION2)
#define TDLS_MGMT_VERSION2 0
#endif
+
+#endif
+
#ifdef WLAN_FEATURE_LINK_LAYER_STATS
void wlan_hdd_clear_link_layer_stats(hdd_adapter_t *adapter);
#else
static inline void wlan_hdd_clear_link_layer_stats(hdd_adapter_t *adapter) {}
#endif
-#endif
-
#define MAX_CHANNEL (NUM_24GHZ_CHANNELS + NUM_5GHZ_CHANNELS)
#define MAX_SCAN_SSID 10