]> git.baikalelectronics.ru Git - kernel.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)
commit14e4b01a77908578fa0660e779a62404f4ffa891
tree63455badce6b917d1510cff4a4e0ef1dcb897037
parent84599bddb109e13c63203ec36675a35a9f03db96
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