usb: cdc-acm: send ZLP for Telit 3G Intel based modems

commit 34aabf9187 upstream.

Telit 3G Intel based modems require zero packet to be sent if
out data size is equal to the endpoint max packet size.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Daniele Palmas 2018-12-28 16:15:41 +01:00 • committed by Ben Hutchings
commit 30da1606a4