mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
2757b22804
commit
43ee7eea10
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue