From 77f0e34e8f78d20786c5ca752abe6e245e4c27fa Mon Sep 17 00:00:00 2001 From: Houston Hoffman Date: Mon, 25 Jul 2016 13:28:10 -0700 Subject: 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 --- core/wma/src/wma_features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ¶m, WMA_WILDCARD_PDEV_ID); if (ret) { -- cgit v1.2.3