[qca-nss-drv] TUN6RD Log.
Change-Id: I85d9ad481c34bf686580abdef161d3af0f45c2cb
Signed-off-by: Sachin Shashidhar <sshashid@codeaurora.org>
diff --git a/nss_tun6rd.c b/nss_tun6rd.c
index 1900034..1ca82e3 100644
--- a/nss_tun6rd.c
+++ b/nss_tun6rd.c
@@ -15,6 +15,7 @@
*/
#include "nss_tx_rx_common.h"
+#include "nss_tun6rd_log.h"
/*
* nss_tun6rd_handler()
@@ -30,6 +31,11 @@
BUG_ON(!nss_is_dynamic_interface(ncm->interface));
/*
+ * Trace Messages
+ */
+ nss_tun6rd_log_rx_msg(ntm);
+
+ /*
* Is this a valid request/response packet?
*/
if (ncm->type >= NSS_TUN6RD_MAX) {
@@ -88,6 +94,11 @@
struct nss_cmn_msg *ncm = &msg->cm;
/*
+ * Trace Messages
+ */
+ nss_tun6rd_log_tx_msg(msg);
+
+ /*
* Sanity check the message
*/
if (!nss_is_dynamic_interface(ncm->interface)) {