mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Print qpower enable/disable depending on the config value
qcacld-2.0 to qcacld-3.0 propagation Driver prints qpower disabled even if command for qpower enabled is sent to firmware. To avoid confusion print qpower enable/disable depending on the cmd sent to firmware. Change-Id: Ifb135d4ad1691d0e5024aa2ef31880be271cac9e CRs-Fixed: 1044603
This commit is contained in:
parent
e546c9b241
commit
779a55cfaa
1 changed files with 6 additions and 2 deletions
|
|
@ -624,10 +624,14 @@ static QDF_STATUS wma_set_force_sleep(tp_wma_handle wma,
|
|||
WMI_STA_PS_ENABLE_QPOWER,
|
||||
qpower_config);
|
||||
if (QDF_IS_STATUS_ERROR(ret)) {
|
||||
WMA_LOGE("Disable QPower Failed vdevId %d", vdev_id);
|
||||
WMA_LOGE("%s(%d) QPower Failed vdevId %d",
|
||||
qpower_config ? "Enable" : "Disable",
|
||||
qpower_config, vdev_id);
|
||||
return ret;
|
||||
}
|
||||
WMA_LOGD("QPower Disabled vdevId %d", vdev_id);
|
||||
WMA_LOGD("QPower %s(%d) vdevId %d",
|
||||
qpower_config ? "Enabled" : "Disabled",
|
||||
qpower_config, vdev_id);
|
||||
|
||||
/* Set the Wake Policy to WMI_STA_PS_RX_WAKE_POLICY_POLL_UAPSD */
|
||||
ret = wma_unified_set_sta_ps_param(wma->wmi_handle, vdev_id,
|
||||
|
|
|
|||
Loading…
Reference in a new issue