mt76: mt7615: disable hw/sched scan ops for non-offload firmware
authorFelix Fietkau <nbd@nbd.name>
Thu, 9 Apr 2020 09:51:17 +0000 (11:51 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 May 2020 17:52:30 +0000 (19:52 +0200)
commit635cb0105e01f4c90e69b3cf8e2c1569479e4bf7
tree9b02a9435d868a8305d62743e5477a00705d421d
parent6bcfdabbadffa19fabafb5b6c7bcf41322b62695
mt76: mt7615: disable hw/sched scan ops for non-offload firmware

Avoid having to attempt hw scan and fall back to software for every scan
on devices/firmware without hw scan support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/init.c
drivers/net/wireless/mediatek/mt76/mt7615/mmio.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h