sierra_net: Skip validating irrelevant fields for IDLE LSIs
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Wed, 24 May 2017 01:53:42 +0000 (21:53 -0400)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:57:32 +0000 (02:57 +0000)
commite5c37e3f83cea759321f051191f96b4c1791985b
treeda063e9b0ae2e0f5a2d738d41352394d5b630e40
parent441f3ec43fe57baae8bc940fc92b40ab426c732d
sierra_net: Skip validating irrelevant fields for IDLE LSIs

[ Upstream commit 764895d3039e903dac3a70f219949efe43d036a0 ]

When the context is deactivated, the link_type is set to 0xff, which
triggers a warning message, and results in a wrong link status, as
the LSI is ignored.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/sierra_net.c