qmi_wwan: extend permitted QMAP mux_id value range
authorReinhard Speyerer <rspmn@arcor.de>
Wed, 12 Jun 2019 17:03:50 +0000 (19:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Jul 2019 07:04:26 +0000 (09:04 +0200)
commit065cf4159258caf507d96fa5449c601e5a9e865a
tree54e85c519a9cb8dd452f62ebe1f09b474aba7d9e
parent4f8544dd54b12faefec3f6c58c2dad28c6b4d37f
qmi_wwan: extend permitted QMAP mux_id value range

[ Upstream commit 36815b416fa48766ac5a98e4b2dc3ebc5887222e ]

Permit mux_id values up to 254 to be used in qmimux_register_device()
for compatibility with ip(8) and 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>
Documentation/ABI/testing/sysfs-class-net-qmi
drivers/net/usb/qmi_wwan.c