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
This commit is contained in:
Tang Yingying 2017-01-17 23:57:12 +08:00 • committed by qcabuildsw
commit 43ee7eea10

View file

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