qmi_wwan: add support for QMAP padding in the RX path
authorReinhard Speyerer <rspmn@arcor.de>
Wed, 12 Jun 2019 17:02:13 +0000 (19:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:05:58 +0000 (19:05 -0700)
commit61356088ace1866a847a727d4d40da7bf00b67fc
tree3b16f1216729a5504256a546b521948c82c33d52
parent2a2af5e6e6f55e8ec381f710b8765ffe2838e313
qmi_wwan: add support for QMAP padding in the RX path

The QMAP code in the qmi_wwan driver is based on the CodeAurora GobiNet
driver which does not process QMAP padding in the RX path correctly.
Add support for QMAP padding to qmimux_rx_fixup() according to the
description of the rmnet driver.

Fixes: c6adf77953bc ("net: usb: qmi_wwan: add qmap mux protocol support")
Cc: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: Reinhard Speyerer <rspmn@arcor.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c