]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sierra_net: Skip validating irrelevant fields for IDLE LSIs
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Wed, 8 Feb 2017 01:46:33 +0000 (02:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2017 21:41:43 +0000 (16:41 -0500)
commit764895d3039e903dac3a70f219949efe43d036a0
tree63455badce6b917d1510cff4a4e0ef1dcb897037
parent5a70348e1187c5bf1cbd0ec51843f36befed1c2d
sierra_net: Skip validating irrelevant fields for IDLE LSIs

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>
drivers/net/usb/sierra_net.c