Commit ac9c50c7 authored by David Bauer's avatar David Bauer Committed by Felix Fietkau
Browse files

wifi: mt76: mt7915: mcu: re-init MCU before loading FW patch



Restart the MCU and release the patch semaphore before loading the MCU
patch firmware from the host.

This fixes failures upon error recovery in case the semaphore was
previously taken and never released by the host.

This happens from time to time upon triggering a full-chip error
recovery. Under this circumstance, the hardware restart fails and the
radio is rendered inoperational.

Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
Link: https://patch.msgid.link/20250402004528.1036715-3-mail@david-bauer.net


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent b018d52e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment