net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
authorDaniele Palmas <dnlplm@gmail.com>
Thu, 31 May 2018 09:18:29 +0000 (11:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2018 14:16:42 +0000 (16:16 +0200)
commitc1d50432f2be5eab456ffd19da7b78ae475a5e39
treec6f349c7060b34f1150b19cb31351c5673706d16
parentba2ce02e0584e130c8c61c65e3c1a17fde012193
net: usb: cdc_mbim: add flag FLAG_SEND_ZLP

[ Upstream commit 9f7c728332e8966084242fcd951aa46583bc308c ]

Testing Telit LM940 with ICMP packets > 14552 bytes revealed that
the modem needs FLAG_SEND_ZLP to properly work, otherwise the cdc
mbim data interface won't be anymore responsive.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/cdc_mbim.c