diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-10-23 17:16:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-24 11:32:54 +0200 |
commit | 07f37efdaa3fa327ecbfd519110bc6bd0c2582cc (patch) | |
tree | 833e305b7fa2d253a5525884330d3a23742c19c9 /drivers/net | |
parent | drivers/net/usb: add device id for TP-LINK UE300 USB 3.0 Ethernet (diff) | |
download | linux-07f37efdaa3fa327ecbfd519110bc6bd0c2582cc.tar.xz linux-07f37efdaa3fa327ecbfd519110bc6bd0c2582cc.zip |
cdc_ether: flag the Huawei ME906/ME909 as WWAN
The Huawei ME906 (12d1:15c1) comes with a standard ECM interface that
requires management via AT commands sent over one of the control TTYs
(e.g. connected with AT^NDISDUP).
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/usb/cdc_ether.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c index 5529bd136624..3e7a3ac3a362 100644 --- a/drivers/net/usb/cdc_ether.c +++ b/drivers/net/usb/cdc_ether.c @@ -872,6 +872,12 @@ static const struct usb_device_id products[] = { USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), .driver_info = (kernel_ulong_t)&wwan_info, }, { + /* Huawei ME906 and ME909 */ + USB_DEVICE_AND_INTERFACE_INFO(HUAWEI_VENDOR_ID, 0x15c1, USB_CLASS_COMM, + USB_CDC_SUBCLASS_ETHERNET, + USB_CDC_PROTO_NONE), + .driver_info = (unsigned long)&wwan_info, +}, { /* ZTE modules */ USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET, |