Skip to content

Commit 9f7c728

Browse files
dnlplmdavem330
authored andcommitted
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 <[email protected]> Acked-by: Bjørn Mork <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8a11801 commit 9f7c728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/usb/cdc_mbim.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ static const struct driver_info cdc_mbim_info_ndp_to_end = {
609609
*/
610610
static const struct driver_info cdc_mbim_info_avoid_altsetting_toggle = {
611611
.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,
613613
.bind = cdc_mbim_bind,
614614
.unbind = cdc_mbim_unbind,
615615
.manage_power = cdc_mbim_manage_power,

0 commit comments

Comments
 (0)