From 49a5ffc904c4f55eb2d1dfef981d0ceb7f3d716a Mon Sep 17 00:00:00 2001 From: Arif Hussain Date: Tue, 19 Jul 2016 10:11:58 -0700 Subject: [PATCH] qcacld-3.0: Fix debug log in wma_send_peer_assoc In function wma_send_peer_assoc, logging error when wmi_unified_peer_assoc_send failed. But error type used in this log is wrong, use "status" instead of "ret". Change-Id: I8dbdd68e16d665e5a7749e10c7006da9f96a6fd7 CRs-Fixed: 1042968 --- core/wma/src/wma_mgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/wma/src/wma_mgmt.c b/core/wma/src/wma_mgmt.c index a5cf5b8f88e1..b93178d74d79 100644 --- a/core/wma/src/wma_mgmt.c +++ b/core/wma/src/wma_mgmt.c @@ -1112,8 +1112,8 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma, status = wmi_unified_peer_assoc_send(wma->wmi_handle, cmd); if (QDF_IS_STATUS_ERROR(status)) - WMA_LOGP("%s: Failed to send peer assoc command ret = %d", - __func__, ret); + WMA_LOGP(FL("Failed to send peer assoc command status = %d"), + status); qdf_mem_free(cmd); return status;