usb: qcserial: Fix tty mode to enable raw
tty mode incorrectly initialized to zero which disables raw
mode. Fix it by initializing it to 1.
Change-Id: I55170ca2a0d03c9f5be652b15f4b4e15c318a1f6
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index 64fc6ea..fcf4b08 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -407,8 +407,8 @@
intfdata = serial->private;
/* explicitly set the driver mode to raw */
- tty->raw = 0;
- tty->real_raw = 0;
+ tty->raw = 1;
+ tty->real_raw = 1;
dbg("%s", __func__);