]> git.ipfire.org Git - people/arne_f/kernel.git/commit
USB: serial: option: add ZLP support for 0x1bc7/0x9010
authorDaniele Palmas <dnlplm@gmail.com>
Thu, 19 Dec 2019 10:07:07 +0000 (11:07 +0100)
committerJohan Hovold <johan@kernel.org>
Fri, 20 Dec 2019 11:07:12 +0000 (12:07 +0100)
commit2438c3a19dec5e98905fd3ffcc2f24716aceda6b
tree70817bbf989efdad416ce19dc38e64cf008d00fa
parent0d3010fa442429f8780976758719af05592ff19f
USB: serial: option: add ZLP support for 0x1bc7/0x9010

Telit FN980 flashing device 0x1bc7/0x9010 requires zero packet
to be sent if out data size is is equal to the endpoint max size.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
[ johan: switch operands in conditional ]
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/option.c
drivers/usb/serial/usb-wwan.h
drivers/usb/serial/usb_wwan.c