[qca-nss-drv] Dump logbuffer during the coredump

Change-Id: Icacb3056cb4baac1c18d0d3a802cadf2d94d1914
Signed-off-by: Cemil Coskun <ccoskun@codeaurora.org>
diff --git a/nss_meminfo.c b/nss_meminfo.c
index 2028948..719a4aa 100644
--- a/nss_meminfo.c
+++ b/nss_meminfo.c
@@ -299,6 +299,12 @@
 			mem_ctx->if_map = (struct nss_if_mem_map *)kern_addr;
 		}
 
+		if (!strcmp(r->name, "debug_boot_log_desc")) {
+			mem_ctx->logbuffer_memtype = mtype;
+			mem_ctx->logbuffer_dma = dma_addr;
+			mem_ctx->logbuffer = (struct nss_log_descriptor *)kern_addr;
+		}
+
 		/*
 		 * Flush the updated meminfo request.
 		 */