summaryrefslogtreecommitdiff
path: root/net/6lowpan/nhc.c
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2022-07-31 16:22:09 +0900
committerPaolo Abeni <pabeni@redhat.com>2022-08-02 11:17:14 +0200
commitc67cc4315a8e605ec875bd3a1210a549e3562ddc (patch)
treecc68655eb54370147bbe53a5ff5be46631ea04c0 /net/6lowpan/nhc.c
parentf56530dcdb0684406661ac9f1accf48319d07600 (diff)
net: usb: ax88179_178a: Bind only to vendor-specific interface
The Anker PowerExpand USB-C to Gigabit Ethernet adapter uses this chipset, but exposes CDC Ethernet configurations as well as the vendor specific one. This driver tries to bind by PID:VID unconditionally and ends up picking up the CDC configuration, which is supposed to be handled by the class driver. To make things even more confusing, it sees both of the CDC class interfaces and tries to bind twice, resulting in two broken Ethernet devices. Change all the ID matches to specifically match the vendor-specific interface. By default the device comes up in CDC mode and is bound by that driver (which works fine); users may switch it to the vendor interface using sysfs to set bConfigurationValue, at which point the device actually goes through a reconnect cycle and comes back as a vendor specific only device, and then this driver binds and works too. The affected device uses VID/PID 0b95:1790, but we might as well change all of them for good measure, since there is no good reason for this driver to bind to standard CDC Ethernet interfaces. v3: Added VID/PID info to commit message Signed-off-by: Hector Martin <marcan@marcan.st> Link: https://lore.kernel.org/r/20220731072209.45504-1-marcan@marcan.st Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/6lowpan/nhc.c')
0 files changed, 0 insertions, 0 deletions