rndis_host: limit scope of bogus MAC address detection to ZTE devices
authorLech Perczak <lech.perczak@gmail.com>
Wed, 13 Apr 2022 01:44:16 +0000 (03:44 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 14 Apr 2022 13:08:12 +0000 (15:08 +0200)
commit171cfae6b78c3b73d8cd3d405a63e38f15f363f2
tree5718718ae3dd8cfaf28fd56d09b23f86fd343751
parent36e747972d8b4c09e6e3275e31a3acba46e2c4d2
rndis_host: limit scope of bogus MAC address detection to ZTE devices

Reporting of bogus MAC addresses and ignoring configuration of new
destination address wasn't observed outside of a range of ZTE devices,
among which this seems to be the common bug. Align rndis_host driver
with implementation found in cdc_ether, which also limits this workaround
to ZTE devices.

Suggested-by: Bjørn Mork <bjorn@mork.no>
Cc: Kristian Evensen <kristian.evensen@gmail.com>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/usb/rndis_host.c