diff options
| author | Arif Hussain <arifhussain@codeaurora.org> | 2016-07-19 10:11:58 -0700 |
|---|---|---|
| committer | Vishwajith Upendra <vishwaji@codeaurora.org> | 2016-07-31 01:06:21 -0700 |
| commit | 49a5ffc904c4f55eb2d1dfef981d0ceb7f3d716a (patch) | |
| tree | 69cd7a311090063235731bfe15e5c1759cbab9cb | |
| parent | b8fef841a7fcc617f4a9e1a77be8c2621234f681 (diff) | |
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
| -rw-r--r-- | core/wma/src/wma_mgmt.c | 4 |
1 files 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; |
