aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/sierra.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/sierra.c')
-rw-r--r--drivers/usb/serial/sierra.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c
index f494c5f659e2..9d11fe47633b 100644
--- a/drivers/usb/serial/sierra.c
+++ b/drivers/usb/serial/sierra.c
@@ -17,7 +17,7 @@
17 Whom based his on the Keyspan driver by Hugh Blemings <hugh@blemings.org> 17 Whom based his on the Keyspan driver by Hugh Blemings <hugh@blemings.org>
18*/ 18*/
19 19
20#define DRIVER_VERSION "v.1.3.6" 20#define DRIVER_VERSION "v.1.3.7"
21#define DRIVER_AUTHOR "Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer" 21#define DRIVER_AUTHOR "Kevin Lloyd, Elina Pasheva, Matthew Safar, Rory Filer"
22#define DRIVER_DESC "USB Driver for Sierra Wireless USB modems" 22#define DRIVER_DESC "USB Driver for Sierra Wireless USB modems"
23 23
@@ -474,6 +474,9 @@ static int sierra_write(struct tty_struct *tty, struct usb_serial_port *port,
474 port->bulk_out_endpointAddress), 474 port->bulk_out_endpointAddress),
475 buffer, writesize, sierra_outdat_callback, port); 475 buffer, writesize, sierra_outdat_callback, port);
476 476
477 /* Handle the need to send a zero length packet */
478 urb->transfer_flags |= URB_ZERO_PACKET;
479
477 /* send it down the pipe */ 480 /* send it down the pipe */
478 retval = usb_submit_urb(urb, GFP_ATOMIC); 481 retval = usb_submit_urb(urb, GFP_ATOMIC);
479 if (retval) { 482 if (retval) {