[PATCH 0/2] wifi: ath11k/ath12k: don't leave a monitor started when its stop fails
Christopher Griffin via B4 Relay
devnull+christophergriffin05.gmail.com at kernel.org
Thu Nov 5 10:12:21 PST 2026
If the monitor vdev stop fails in unassign_vif_chanctx(), ath11k and
ath12k return with the vif (link) still marked started, although
mac80211 has released the channel context. The next assignment then
warns and fails with -EBUSY.
A firmware crash during a monitor channel change hits it reliably:
three of three simulated asserts on a QCN9074 with a monitor interface
changing channel every few hundred milliseconds took this path. With
patch 1, none warned and every recovery completed (before: a WARNING
each time). Patch 2 makes the same change in ath12k, compile-tested
only (W=1).
---
Christopher Griffin (2):
wifi: ath11k: don't leave a monitor vif started when its stop fails
wifi: ath12k: don't leave a monitor link started when its stop fails
drivers/net/wireless/ath/ath11k/mac.c | 6 ++----
drivers/net/wireless/ath/ath12k/mac.c | 12 +++++-------
2 files changed, 7 insertions(+), 11 deletions(-)
---
base-commit: 5c8eab13e391aaabd5a1ad58f3ee4bb10ce7573e
change-id: 20261105-ath-monitor-unassign-6eea38bee1a8
Best regards,
--
Christopher Griffin <christophergriffin05 at gmail.com>
More information about the ath12k
mailing list