linux_dsm_epyc7002/drivers/net/wireless/mediatek/mt7601u
Stanislaw Gruszka c031647068 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>
2019-03-19 17:31:03 +02:00
..
core.c
debugfs.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
dma.c mt7601u: do not use WARN_ON in the datapath 2019-02-01 14:41:19 +02:00
dma.h mt7601u: use linux/bitfield.h 2016-09-09 12:09:25 +03:00
eeprom.c mt7601u: remove a warning in mt7601u_efuse_physical_size_check() 2018-03-13 18:32:56 +02:00
eeprom.h mt7601u: bump supported EEPROM version 2019-02-01 14:28:22 +02:00
init.c mt7601u: expose 802.11w support 2018-07-30 17:30:35 +03:00
initvals_phy.h
initvals.h mt7601u: let mac80211 validate rx CCMP PN 2018-03-13 18:35:03 +02:00
Kconfig
mac.c mt7601u: use EWMA to calculate avg_rssi 2018-04-24 20:33:02 +03:00
mac.h mt7601u: move mt7601u_set_macaddr in mac related code 2018-02-28 16:56:05 +02:00
main.c mt7601u: use sw encryption for hw unsupported ciphers 2018-07-30 17:30:35 +03:00
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
mcu.c Driver core patches for 4.17-rc1 2018-04-04 19:41:45 -07:00
mcu.h
mt7601u.h mt7601u: use EWMA to calculate avg_rssi 2018-04-24 20:33:02 +03:00
phy.c mt7601u: remove warning when avg_rssi is zero 2018-06-24 20:01:38 +03:00
regs.h mt7601u: wait for clear rxq when stopping mac 2016-11-29 17:32:32 +02:00
trace.c
trace.h net/mediatek: disambiguate mt76 vs mt7601u trace events 2018-03-28 22:55:18 +02:00
tx.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
usb.c mt7601u: check chip version on probe 2019-03-19 17:31:03 +02:00
usb.h mt7601u: fix dma from stack address 2015-08-10 22:19:31 +03:00
util.c