From fd95385a9341d53d1f5534176f1291e8f34fc017 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Thu, 14 Apr 2016 16:29:11 -0700 Subject: [PATCH] qcacld-3.0: Use new EPPING con_mode enum EPPING con_mode is now a single enum. Change-Id: I403a2ab33ea85dc69aa98fc50d9ece6cf8e1ee19 CRs-Fixed: 989695 --- core/utils/epping/inc/epping_main.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/utils/epping/inc/epping_main.h b/core/utils/epping/inc/epping_main.h index d267b714c46e..0dcae3f87676 100644 --- a/core/utils/epping/inc/epping_main.h +++ b/core/utils/epping/inc/epping_main.h @@ -39,12 +39,13 @@ Include files -------------------------------------------------------------------------*/ #include +#include #define WLAN_EPPING_ENABLE_BIT (1 << 8) #define WLAN_EPPING_IRQ_BIT (1 << 9) #define WLAN_EPPING_FW_UART_BIT (1 << 10) -#define WLAN_IS_EPPING_ENABLED(x) (x & WLAN_EPPING_ENABLE_BIT) -#define WLAN_IS_EPPING_IRQ(x) (x & WLAN_EPPING_IRQ_BIT) +#define WLAN_IS_EPPING_ENABLED(x) (x == QDF_GLOBAL_EPPING_MODE) +#define WLAN_IS_EPPING_IRQ(x) 1 #define WLAN_IS_EPPING_FW_UART(x) (x & WLAN_EPPING_FW_UART_BIT) /* epping_main signatures */