Message ID | b2f1eeb63059e5b337a1f1996f0fd9890fef1955.1589312203.git.lorenzo@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mt76: mt7663: fix the usage WoW with net detect support | expand |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c index 96bf39a4a3da..ef50b9a885f4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c @@ -3351,8 +3351,8 @@ mt7615_mcu_set_wow_ctrl(struct mt7615_phy *phy, struct ieee80211_vif *vif, if (wowlan->nd_config) { mt7615_mcu_sched_scan_req(phy, vif, wowlan->nd_config); req.wow_ctrl_tlv.trigger |= BIT(5); + mt7615_mcu_sched_scan_enable(phy, vif, suspend); } - mt7615_mcu_sched_scan_enable(phy, vif, suspend); if (mt76_is_mmio(&dev->mt76)) req.wow_ctrl_tlv.wakeup_hif = 2;