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:12:31 +0000 (22:12 +0100)
commit6fffa14699e77020ca5635a36a3b37357a44c123
treea4e490c4187b2911479366da256e6465a7ff8849
parentbaf6b1921da38ee9549e80511a9c8b9b0542f127
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