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>
Mon, 11 Jun 2018 20:49:20 +0000 (22:49 +0200)
commit1c2c7767e876c547d5c74cacfbe5b6665cf56c5e
tree6268584474617dc3a618659fbd097709bd0611b4
parent8acb0708ab6d7d29db9276befc08bbc20271ab44
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