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
This commit is contained in:
Yuanyuan Liu 2018-03-28 18:05:30 -07:00 • committed by nshrivas
commit 0d506a4d64
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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"