[qca-nss-drv] L2TPV2 Logging

Change-Id: I29897e05687b08acffce2d1a6f95b94273ddbbeb
Signed-off-by: Sachin Shashidhar <sshashid@codeaurora.org>
diff --git a/nss_l2tpv2.c b/nss_l2tpv2.c
index b874b01..f2c012b 100644
--- a/nss_l2tpv2.c
+++ b/nss_l2tpv2.c
@@ -18,6 +18,7 @@
 #include <net/sock.h>
 #include "nss_tx_rx_common.h"
 #include "nss_l2tpv2_stats.h"
+#include "nss_l2tpv2_log.h"
 
 /*
  * Data structures to store l2tpv2 nss debug stats
@@ -84,6 +85,11 @@
 	BUG_ON(!(nss_is_dynamic_interface(ncm->interface) || ncm->interface == NSS_L2TPV2_INTERFACE));
 
 	/*
+	 * Trace Messages
+	 */
+	nss_l2tpv2_log_rx_msg(ntm);
+
+	/*
 	 * Is this a valid request/response packet?
 	 */
 	if (ncm->type >= NSS_L2TPV2_MSG_MAX) {
@@ -152,6 +158,11 @@
 	struct nss_cmn_msg *ncm = &msg->cm;
 
 	/*
+	 * Trace Messages
+	 */
+	nss_l2tpv2_log_tx_msg(msg);
+
+	/*
 	 * Sanity check the message
 	 */
 	if (!nss_is_dynamic_interface(ncm->interface)) {