USB: serial: sierra driver zero length packet fix
authorElina Pasheva <epasheva@sierrawireless.com>
Tue, 12 May 2009 20:12:24 +0000 (13:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:45 +0000 (21:44 -0700)
commit238ebd138c9704e1162030c1e600bc06142cb2c8
tree9e069a3e31e6471e9d62ee7938aa39a4daa300fd
parent72fda3ca6fc14662bb385d1e39e9e00af15b200d
USB: serial: sierra driver zero length packet fix

- Fixed a problem with transferring packets with size a multiple of Bulk
  Xfer size in function sierra_write(). Added transfer flag
  URB_ZERO_PACKET before submitting the urb to trigger Zero-length data
  transfer when packet size is a multiple of Bulk Xfer.

Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/sierra.c