usb: cdc-acm: send ZLP for Telit 3G Intel based modems
authorDaniele Palmas <dnlplm@gmail.com>
Fri, 28 Dec 2018 15:15:41 +0000 (16:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2019 21:16:10 +0000 (22:16 +0100)
commit460398af9f97910992f1a3bad215b659229ed8b9
tree5a37ac58c8317eeb7e435a9393a5f22579b11c0c
parent9c87abaf4d12413531ce689b781120ebaeeef044
usb: cdc-acm: send ZLP for Telit 3G Intel based modems

commit 34aabf918717dd14e05051896aaecd3b16b53d95 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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c