summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2019-03-07 15:22:07 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-03-19 18:31:03 +0300
commitc0316470683af0507427c3e0660246feacdf8363 (patch)
tree924a8a146bd6b1bb5946b6f98d488ca24e4b82b6 /drivers/net/wireless/mediatek/mt76/mt76x0/usb.c
parent688cd8bd2c0fa9dc88e5ced55a73ddc79edf875d (diff)
downloadlinux-c0316470683af0507427c3e0660246feacdf8363.tar.xz
mt7601u: check chip version on probe
Since some USB device IDs are duplicated between mt7601u and mt76x0u devices, check chip version on probe and return error if not match 0x7601. Don't think this is serious issue, probe most likely will fail at some other point for wrong device, but we do not have to configure it if we know is not mt7601u device. Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Jakub Kicinski <kubakici@wp.pl> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/usb.c')
0 files changed, 0 insertions, 0 deletions