Loading
wifi: mt76: Move mt76_abort_scan out of mt76_reset_device()
Move mt76_abort_scan routine out of mt76_reset_device() in order to avoid a possible deadlock since mt76_reset_device routine is running with mt76 mutex help and mt76_abort_scan_complete() can grab mt76 mutex in some cases. Fixes: b36d5561 ("wifi: mt76: abort scan/roc on hw restart") Signed-off-by:Lorenzo Bianconi <lorenzo@kernel.org> Tested-by:
Ben Greear <greearb@candelatech.com> Link: https://patch.msgid.link/20251114-mt76-fix-missing-mtx-v1-3-259ebf11f654@kernel.org Signed-off-by:
Felix Fietkau <nbd@nbd.name>