net/usb: Misc. fixes for the LG-VL600 LTE USB modem
authorMark Kamichoff <prox@prolixium.com>
Wed, 9 Nov 2011 11:48:10 +0000 (11:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2011 05:49:05 +0000 (00:49 -0500)
commit6d74eb9442fb113c97edc88a1c658462db711337
tree746e052b599e0a6923120e2cb29788f92abe21ae
parent3ac3546e5f17248d961ef0f4a27e75564bf71578
net/usb: Misc. fixes for the LG-VL600 LTE USB modem

Add checking for valid magic values (needed for stability in the event
corrupted packets are received) and remove some other unneeded checks.
Also, fix flagging device as WWAN (Bugzilla bug #39952).

Signed-off-by: Mark Kamichoff <prox@prolixium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
drivers/net/usb/lg-vl600.c