From ffb9c72f7b104998853f27e4d7807996c9218eca Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Thu, 31 May 2018 10:37:11 +0800 Subject: [PATCH] qcacld-3.0: Use PMO macro from public head files We should use PMO macro from public head files. Change-Id: Iac533655e85ef85fe86bae19e0bce4967418cc81 CRs-Fixed: 2251499 --- components/pmo/core/inc/wlan_pmo_wow.h | 1 - components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h | 2 ++ core/hdd/inc/wlan_hdd_wowl.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/pmo/core/inc/wlan_pmo_wow.h b/components/pmo/core/inc/wlan_pmo_wow.h index 4399d74f6c..d40a9f4f74 100644 --- a/components/pmo/core/inc/wlan_pmo_wow.h +++ b/components/pmo/core/inc/wlan_pmo_wow.h @@ -107,7 +107,6 @@ #define PMO_WOW_FILTERS_ARP_NS 2 #define PMO_WOW_FILTERS_PKT_OR_APF 5 -#define PMO_WOW_FILTERS_MAX 22 /** * pmo_get_and_increment_wow_default_ptrn() -Get and increment wow default ptrn diff --git a/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h index 601fae2bf1..6e3bb0991d 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h +++ b/components/pmo/dispatcher/inc/wlan_pmo_wow_public_struct.h @@ -28,6 +28,8 @@ #define _WLAN_PMO_WOW_PUBLIC_STRUCT_H_ +#define PMO_WOW_FILTERS_MAX 22 + #define PMO_WOWL_PTRN_MAX_SIZE 146 #define PMO_WOWL_PTRN_MASK_MAX_SIZE 19 #define PMO_WOWL_BCAST_PATTERN_MAX_SIZE 146 diff --git a/core/hdd/inc/wlan_hdd_wowl.h b/core/hdd/inc/wlan_hdd_wowl.h index 7ff55b5cc9..1a6c35cf39 100644 --- a/core/hdd/inc/wlan_hdd_wowl.h +++ b/core/hdd/inc/wlan_hdd_wowl.h @@ -94,7 +94,7 @@ */ #include -#include "wlan_pmo_wow.h" +#include "wlan_pmo_wow_public_struct.h" #define WOWL_PTRN_MAX_SIZE 146 #define WOWL_PTRN_MASK_MAX_SIZE 19