From 0d506a4d64bb4a8a2d274a76bc4e02a040c541c0 Mon Sep 17 00:00:00 2001 From: Yuanyuan Liu Date: Wed, 28 Mar 2018 18:05:30 -0700 Subject: [PATCH] qcacmn: Fix LLVM compiling issues Remove typedef redefinition, use correct enum type, remove extra parentheses and correct header guard. CRs-Fixed: 2214003 Change-Id: I0a75c70cd530590a16f6bfa884955ebc26906de0 --- src/wlan_policy_mgr_get_set_utils.c | 2 +- src/wlan_policy_mgr_tables_2x2_dbs_i.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wlan_policy_mgr_get_set_utils.c b/src/wlan_policy_mgr_get_set_utils.c index 8b5fa354576b..2e027d67b2ae 100644 --- a/src/wlan_policy_mgr_get_set_utils.c +++ b/src/wlan_policy_mgr_get_set_utils.c @@ -2176,7 +2176,7 @@ bool policy_mgr_is_sta_active_connection_exists( struct wlan_objmgr_psoc *psoc) { return (!policy_mgr_mode_specific_connection_count( - psoc, QDF_STA_MODE, NULL)) ? false : true; + psoc, PM_STA_MODE, NULL)) ? false : true; } bool policy_mgr_is_any_nondfs_chnl_present(struct wlan_objmgr_psoc *psoc, diff --git a/src/wlan_policy_mgr_tables_2x2_dbs_i.h b/src/wlan_policy_mgr_tables_2x2_dbs_i.h index cbef81312141..815bdd5d10a6 100644 --- a/src/wlan_policy_mgr_tables_2x2_dbs_i.h +++ b/src/wlan_policy_mgr_tables_2x2_dbs_i.h @@ -26,7 +26,7 @@ */ #ifndef __WLAN_POLICY_MGR_TABLES_2X2_DBS_H -#define __WLAN_POLICY_MGR_TABLESY_2X2_DBS_H +#define __WLAN_POLICY_MGR_TABLES_2X2_DBS_H #include "wlan_policy_mgr_api.h"