mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7915: only set MT76_MCU_RESET for the main phy
The MT76_MCU_RESET flag is only read on the main phy. Signed-off-by: Bo Jiao <[email protected]>
This commit is contained in:
+1
-3
@@ -1345,10 +1345,8 @@ mt7915_mac_restart(struct mt7915_dev *dev)
|
||||
set_bit(MT76_RESET, &dev->mphy.state);
|
||||
set_bit(MT76_MCU_RESET, &dev->mphy.state);
|
||||
wake_up(&dev->mt76.mcu.wait);
|
||||
if (ext_phy) {
|
||||
if (ext_phy)
|
||||
set_bit(MT76_RESET, &ext_phy->state);
|
||||
set_bit(MT76_MCU_RESET, &ext_phy->state);
|
||||
}
|
||||
|
||||
/* lock/unlock all queues to ensure that no tx is pending */
|
||||
mt76_txq_schedule_all(&dev->mphy);
|
||||
|
||||
Reference in New Issue
Block a user