diag: Prevent mask check for UART traffic
DIAG traffic can go over USB, UART and SD card. Input received from SD
card needs to be validated before sending to modem. Whereas, traffic
from UART does not need such check.
Change-Id: If5d29cc3a1eba6ce0336f09c774e11f6060d5ead
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
diff --git a/drivers/char/diag/diagchar.h b/drivers/char/diag/diagchar.h
index ac8b50f..e048367 100644
--- a/drivers/char/diag/diagchar.h
+++ b/drivers/char/diag/diagchar.h
@@ -210,6 +210,7 @@
struct diag_request *write_ptr_qdsp_2;
struct diag_request *write_ptr_wcnss;
int logging_mode;
+ int mask_check;
int logging_process_id;
#ifdef CONFIG_DIAG_SDIO_PIPE
unsigned char *buf_in_sdio;