]> git.baikalelectronics.ru Git - kernel.git/commit
qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect
authorBjørn Mork <bjorn@mork.no>
Thu, 14 Dec 2017 18:55:50 +0000 (19:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 18:50:13 +0000 (13:50 -0500)
commit906d51e7033dd822669b280429bdfa9f21ee7bd9
tree5c049c1ce17b838268c76711fabf2764c9706da2
parent34d694f7ed23997aaf6619dc9f69387c06eee629
qmi_wwan: set FLAG_SEND_ZLP to avoid network initiated disconnect

It has been reported that the dummy byte we add to avoid
ZLPs can be forwarded by the modem to the PGW/GGSN, and that
some operators will drop the connection if this happens.

In theory, QMI devices are based on CDC ECM and should as such
both support ZLPs and silently ignore the dummy byte.  The latter
assumption failed.  Let's test out the first.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c