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
This commit is contained in:
Arif Hussain 2016-07-19 10:11:58 -07:00 • committed by Vishwajith Upendra
commit 49a5ffc904

View file

@ -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;