qcacmn: Rename utility function in policy manager component

Rename utility function is_scan_simultaneous_capable in policy
manager component from wma.

Change-Id: I8f9ad162c491dca7b32290fd224fce40d192fd23
CRs-Fixed: 2009818
This commit is contained in:
Tushnim Bhattacharyya
2017-03-13 14:04:17 -07:00
gecommit door Sandeep Puligilla
bovenliggende d00a36dfbe
commit 9e780e3570

Bestand weergeven

@@ -1648,4 +1648,22 @@ enum policy_mgr_hw_mode_change policy_mgr_is_hw_mode_change_in_progress(
*/
enum policy_mgr_hw_mode_change policy_mgr_get_hw_mode_change_from_hw_mode_index(
struct wlan_objmgr_psoc *psoc, uint32_t hw_mode_index);
/**
* policy_mgr_is_scan_simultaneous_capable() - Check if scan
* parallelization is supported or not
* @psoc: PSOC object information
* currently scan parallelization feature support is dependent on DBS but
* it can be independent in future.
*
* Return: True if master DBS control is enabled
*/
static inline bool policy_mgr_is_scan_simultaneous_capable(
struct wlan_objmgr_psoc *psoc)
{
if (policy_mgr_is_hw_dbs_capable(psoc))
return true;
return false;
}
#endif /* __WLAN_POLICY_MGR_API_H */