Skip to content

Commit

Permalink
wifi: mt76: mt7915: set MT76_MCU_RESET early in mt7915_mac_full_reset
Browse files Browse the repository at this point in the history
This avoids running into unnecessary timeouts waiting for MCU responses

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Sep 6, 2024
1 parent 33eb14f commit 8351a4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/mediatek/mt76/mt7915/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,7 @@ mt7915_mac_full_reset(struct mt7915_dev *dev)

dev->recovery.hw_full_reset = true;

set_bit(MT76_MCU_RESET, &dev->mphy.state);
wake_up(&dev->mt76.mcu.wait);
ieee80211_stop_queues(mt76_hw(dev));
if (ext_phy)
Expand Down

0 comments on commit 8351a4a

Please sign in to comment.