Re: [PATCH] wifi: ath9k: restore background spectral scan after reset

From: Toke Høiland-Jørgensen

Date: Mon Oct 19 2026 - 15:14:21 EST


Nick Hainke <vincent@xxxxxxxxxxxx> writes:

> A reset leaves spectral_mode set to SPECTRAL_BACKGROUND, but resets the
> spectral registers and receive filter. The driver therefore still reports
> a background scan even though the hardware no longer produces FFT samples.
>
> Re-trigger background spectral scanning after reset recovery so the
> software and hardware state match again. Do not re-trigger spectral
> scanning in disabled, manual, channel-scan, radar, or off-channel
> modes.

What bug is this fixing, and how did you test the change?

-Toke