Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mt7915/mcu.c')
-rw-r--r--mt7915/mcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mt7915/mcu.c b/mt7915/mcu.c
index f11ca25d..2f6d3287 100644
--- a/mt7915/mcu.c
+++ b/mt7915/mcu.c
@@ -2289,7 +2289,7 @@ int mt7915_mcu_init(struct mt7915_dev *dev)
if (ret)
return ret;
- if (mtk_wed_device_active(&dev->mt76.mmio.wed))
+ if (mtk_wed_device_active(&dev->mt76.mmio.wed) && is_mt7915(&dev->mt76))
mt7915_mcu_wa_cmd(dev, MCU_WA_PARAM_CMD(CAPABILITY), 0, 0, 0);
ret = mt7915_mcu_set_mwds(dev, 1);