diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2026-04-01 14:06:32 -0500 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-06-09 10:15:22 +0000 |
| commit | 161596f033e8483863ed3e21380f9ea9d925bbc3 (patch) | |
| tree | f9047d589888209686f0e74c5d785254401edae6 /tools/lib/python | |
| parent | d23353688dd06a3c019ad322884b94713f2a9466 (diff) | |
wifi: mt76: mt7921u: escalate broken USB transport to device reset
Check the USB control path before running the normal WFSYS reset flow.
If USB access is no longer reliable, stop the WFSYS-only reset path,
mark the device as bus_hung, and queue a USB device reset instead.
Reuse the existing bus_hung state to represent transport-level failure,
keeping the semantics consistent with the SDIO path.
Also initialize bus_hung explicitly during probe for consistency.
Reported-by: Bryam Vargas <bryamestebanvargas@gmail.com>
Closes: https://lore.kernel.org/r/CANAPQziOh3sB7B8G+U3AZsFfeFN1uAg4munhwA_feZi56D7W+Q@mail.gmail.com
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Link: https://patch.msgid.link/20260401190632.147042-2-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
