qcacld-3.0: Logging enhancements for TDLS feature
Add logging enhancements for TDLS feature.
Change-Id: I972fedb60384b9eac87342238d7addd9f5d61290
CRs-Fixed: 1105462
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 40993dc..1e0f955 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -1171,6 +1171,9 @@
("AllocateMemory failed for eWNI_SME_TDLS_DEL_STA_IND "));
return;
}
+ lim_log(pMac, LOG1, FL("Delete TDLS Peer "MAC_ADDRESS_STR
+ "with reason code %d"),
+ MAC_ADDR_ARRAY(pStaDs->staAddr), reasonCode);
/* messageType */
pSirTdlsDelStaInd->messageType = eWNI_SME_TDLS_DEL_STA_IND;
pSirTdlsDelStaInd->length = sizeof(tSirTdlsDelStaInd);