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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Jul 2019 07:04:25 +0000 (09:04 +0200)
commit0d34ea83b1c13beb6f939760fe9c7b6b73617997
tree06a44e58a2629b535ddeafed17d1df29720cd351
parent4efb3c121b3c9b99f78af1c6fa7cc837752e92f9
qmi_wwan: add support for QMAP padding in the RX path

[ Upstream commit 61356088ace1866a847a727d4d40da7bf00b67fc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/qmi_wwan.c