qcacld-3.0: Call htc_can_suspend_link in wma_enable_wow_in_fw

wma_enable_wow_in_fw was passing the wrong handle to hif_can_suspend_link.
The wrapper function htc_can_suspend_link will properly extract the hif
context and forward the request.

Change-Id: I40f0c2301b686625ea58ef692f816856bbdcf06b
CRs-Fixed: 1045959
This commit is contained in:
Houston Hoffman
2016-07-25 13:28:10 -07:00
committed by Vishwajith Upendra
parent 4b00d988ca
commit 77f0e34e8f

View File

@@ -3590,7 +3590,7 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle)
} }
param.enable = true; param.enable = true;
param.can_suspend_link = hif_can_suspend_link(wma->htc_handle); param.can_suspend_link = htc_can_suspend_link(wma->htc_handle);
ret = wmi_unified_wow_enable_send(wma->wmi_handle, &param, ret = wmi_unified_wow_enable_send(wma->wmi_handle, &param,
WMA_WILDCARD_PDEV_ID); WMA_WILDCARD_PDEV_ID);
if (ret) { if (ret) {