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"