Преглед на файлове

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
Houston Hoffman преди 8 години
родител
ревизия
77f0e34e8f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/wma/src/wma_features.c

+ 1 - 1
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) {