diff options
author | Mark Kamichoff <prox@prolixium.com> | 2011-11-09 11:48:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-14 00:49:05 -0500 |
commit | 6d74eb9442fb113c97edc88a1c658462db711337 (patch) | |
tree | 746e052b599e0a6923120e2cb29788f92abe21ae /drivers/net/usb/cdc_ether.c | |
parent | 3ac3546e5f17248d961ef0f4a27e75564bf71578 (diff) | |
download | blackbird-op-linux-6d74eb9442fb113c97edc88a1c658462db711337.tar.gz blackbird-op-linux-6d74eb9442fb113c97edc88a1c658462db711337.zip |
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>
Diffstat (limited to 'drivers/net/usb/cdc_ether.c')
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index c924ea2bce07..99ed6eb4dfaf 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -567,7 +567,7 @@ static const struct usb_device_id products [] = { { USB_DEVICE_AND_INTERFACE_INFO(0x1004, 0x61aa, USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), - .driver_info = (unsigned long)&wwan_info, + .driver_info = 0, }, /* |