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:

committed by
Vishwajith Upendra

parent
4b00d988ca
commit
77f0e34e8f
@@ -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, ¶m,
|
ret = wmi_unified_wow_enable_send(wma->wmi_handle, ¶m,
|
||||||
WMA_WILDCARD_PDEV_ID);
|
WMA_WILDCARD_PDEV_ID);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Reference in New Issue
Block a user