diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2019-12-19 13:07:07 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2019-12-20 14:07:12 +0300 |
commit | 2438c3a19dec5e98905fd3ffcc2f24716aceda6b (patch) | |
tree | 70817bbf989efdad416ce19dc38e64cf008d00fa /drivers/usb/serial/usb-wwan.h | |
parent | 0d3010fa442429f8780976758719af05592ff19f (diff) | |
download | linux-2438c3a19dec5e98905fd3ffcc2f24716aceda6b.tar.xz |
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>
Diffstat (limited to 'drivers/usb/serial/usb-wwan.h')
-rw-r--r-- | drivers/usb/serial/usb-wwan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-wwan.h b/drivers/usb/serial/usb-wwan.h index 1c120eaf4091..934e9361cf6b 100644 --- a/drivers/usb/serial/usb-wwan.h +++ b/drivers/usb/serial/usb-wwan.h @@ -38,6 +38,7 @@ struct usb_wwan_intf_private { spinlock_t susp_lock; unsigned int suspended:1; unsigned int use_send_setup:1; + unsigned int use_zlp:1; int in_flight; unsigned int open_ports; void *private; |