diff --git a/core/wma/src/wma_power.c b/core/wma/src/wma_power.c index 3f2fa5321276..d53ada13afe3 100644 --- a/core/wma/src/wma_power.c +++ b/core/wma/src/wma_power.c @@ -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,