summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja Mani <rmani@qti.qualcomm.com>2014-02-03 13:20:16 +0530
committerPrakash Dhavali <pdhavali@qca.qualcomm.com>2014-02-04 00:02:33 -0800
commita0eeaadb062a3cb64925c48939149946ebfbd684 (patch)
treed776d12506ecef698b08668bc589328b5ab1c66d
parentc54c014a8ba37d2c50e5e77adf163c341429e594 (diff)
qcacld: Fix redundant error msg in suspend failure case
Both wma_stop() and wma_suspend_target() prints the same error message "Failed to suspend target" when firmware fails to send ACK to the host for WMI_PDEV_SUSPEND_CMDID. Getting "Failed to suspend target" message twice in dmesg creates confusion to the user. Change-Id: Id9efda83589e872797cd5ddad2f8c6545f014f77 CRs-Fixed: 610565
-rw-r--r--CORE/SERVICES/WMA/wma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c
index 47f4bdc22eb0..cec63774dafc 100644
--- a/CORE/SERVICES/WMA/wma.c
+++ b/CORE/SERVICES/WMA/wma.c
@@ -16903,7 +16903,7 @@ int wma_suspend_target(WMA_HANDLE handle, int disable_target_intr)
if (vos_wait_single_event(&wma_handle->target_suspend,
WMA_TGT_SUSPEND_COMPLETE_TIMEOUT)
!= VOS_STATUS_SUCCESS) {
- WMA_LOGE("Failed to suspend target");
+ WMA_LOGE("Failed to get ACK from firmware for pdev suspend");
return -1;
}