mt76: mt7915: add offchannel condition in switch channel command
authorShayne Chen <shayne.chen@mediatek.com>
Tue, 22 Sep 2020 11:36:01 +0000 (19:36 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Sep 2020 16:10:20 +0000 (18:10 +0200)
commit062d62e3976d20b6610a47bf8f829274cf7bbf89
tree9c2122b1cc4a37a99a49f5aac6de7e598545500c
parent59283d0987783f3d1dd9a7b0a1f2527a424c7a6b
mt76: mt7915: add offchannel condition in switch channel command

Add a missing offchannel condition for channel switch reason, which
bypasses DPD calibration to reduce scanning time.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c