summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-07-25 13:28:10 -0700
committerVishwajith Upendra <vishwaji@codeaurora.org>2016-07-26 14:36:58 -0700
commit77f0e34e8f78d20786c5ca752abe6e245e4c27fa (patch)
tree05bc04d8c902fcbccfae4f9890190a17c69f153d
parent4b00d988ca6a076767184a3cc135a01b63a986dd (diff)
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
-rw-r--r--core/wma/src/wma_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c
index c0c8c233826d..0b75cf602965 100644
--- a/core/wma/src/wma_features.c
+++ b/core/wma/src/wma_features.c
@@ -3590,7 +3590,7 @@ QDF_STATUS wma_enable_wow_in_fw(WMA_HANDLE handle)
}
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,
WMA_WILDCARD_PDEV_ID);
if (ret) {