aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele Palmas <dnlplm@gmail.com>2018-05-31 05:18:29 -0400
committerDavid S. Miller <davem@davemloft.net>2018-06-01 14:01:42 -0400
commit9f7c728332e8966084242fcd951aa46583bc308c (patch)
treede6af752acbdaff95a43ef573659ced5c14d7601
parent8a118015816f82c16b446e6599d35d483883d238 (diff)
net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
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>
-rw-r--r--drivers/net/usb/cdc_mbim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c
index 7220cd620717..0362acd5cdca 100644
--- a/drivers/net/usb/cdc_mbim.c
+++ b/drivers/net/usb/cdc_mbim.c
@@ -609,7 +609,7 @@ static const struct driver_info cdc_mbim_info_ndp_to_end = {
609 */ 609 */
610static const struct driver_info cdc_mbim_info_avoid_altsetting_toggle = { 610static const struct driver_info cdc_mbim_info_avoid_altsetting_toggle = {
611 .description = "CDC MBIM", 611 .description = "CDC MBIM",
612 .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN, 612 .flags = FLAG_NO_SETINT | FLAG_MULTI_PACKET | FLAG_WWAN | FLAG_SEND_ZLP,
613 .bind = cdc_mbim_bind, 613 .bind = cdc_mbim_bind,
614 .unbind = cdc_mbim_unbind, 614 .unbind = cdc_mbim_unbind,
615 .manage_power = cdc_mbim_manage_power, 615 .manage_power = cdc_mbim_manage_power,