qcacmn: Resolve compilation issue for ewma

Resolve compilation issue due to ewma.

Change-Id: I6555de6a357a04faab747b419be9e3eb1b285998
CRs-Fixed: 2308338
This commit is contained in:
Ruchi, Agrawal
2018-09-14 11:48:22 +05:30
committed by nshrivas
parent 86876490f2
commit 5b1028e3d3

View File

@@ -290,7 +290,7 @@ static inline bool __qdf_is_macaddr_equal(struct qdf_mac_addr *mac_addr1,
LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#define __QDF_DECLARE_EWMA(name, _factor, _weight)
#define __qdf_ewma_tx_lag struct ewma
#define __qdf_ewma_tx_lag int
#else
#define __QDF_DECLARE_EWMA(name, _factor, _weight) \
DECLARE_EWMA(name, _factor, _weight)