[qca-nss-drv] PPE Logging

Change-Id: I67de8af18169a182f9df5df86d298b4c99f85696
Signed-off-by: Sachin Shashidhar <sshashid@codeaurora.org>
diff --git a/nss_ppe.c b/nss_ppe.c
index 7b0b20b..3dc5679 100644
--- a/nss_ppe.c
+++ b/nss_ppe.c
@@ -64,6 +64,11 @@
 	struct nss_cmn_msg *ncm = &msg->cm;
 
 	/*
+	 * Trace messages.
+	 */
+	nss_ppe_log_tx_msg(msg);
+
+	/*
 	 * Sanity check the message
 	 */
 	if (ncm->type >= NSS_PPE_MSG_MAX) {
@@ -243,6 +248,11 @@
 	BUG_ON(!nss_ppe_verify_ifnum(ncm->interface));
 
 	/*
+	 * Trace messages.
+	 */
+	nss_ppe_log_rx_msg(msg);
+
+	/*
 	 * Is this a valid request/response packet?
 	 */
 	if (ncm->type >= NSS_PPE_MSG_MAX) {