From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.240 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793095208; b=4rvLosdBF61431VVKTbmcninjMaOjHDs7gWI2GCpaSp05xtxiCdFPBju6LGy8Jz1hWVT bUkgWtNKzz9TqRgqt+CXiM083zYmPjJriJUL/0KvK2Ww0ulww/SKiQtg5Jum2McnY5V0U 5OP9tIB4j0nkafjWPHEyGpDJXQd6hfyBBofzXyKu4mQl/2H10IOJ+PqEyhSktNgBTgtky uCsyAhzX9892K9TWZDDCyEQl2psTLhnNfr7UMZAaA+cG4O6EZmwysNnZ0sPLGeieYVkhX Azf6suHOIZoGAEB9zGWKv6MUfKdAt8G1P/ahyU/038JNFC1K9Hs+dJ5TvTGYRVwRMvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793095208; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:MIME-Version:Date:Content-Type: Content-Transfer-Encoding:From:Message-ID:TLS-Required:Subject:To:Cc: In-Reply-To:References; bh=1HZaLJ3VfsBWwsUyLeKxbYeCIChpATR+0fJLCQMpzUA=; b=VQJ5e5YUVEWZairfWXlUUxOdoZyrVGgywZvSmsi6HDxYlwknANabv8flh7+qOAZsBV40 hEK6+EebAqlxukRaz2fa0TisFQ8tMQSYbTjp4WlMGybbC+NRTYkLiywS2pClnfHIhSZZx zAlr9sfUcLoIbAnzV1R92ePNPuMYE1mTC21OZ7fQYkRP5zvwa2+LdbJUE+TwPiELYhwUJ 3NzLfW8jYA80WSUUuTQKAZEk5nCEMiltcNRZ2mI+AZrIUAs5/+9XnXjwJK7jRnZ4qkT33 DcejjdVcenqwWWAk+Ckr1UHtm37Ph9jCb5uRAoPsMvXU9laqgHTjfgeMFiz/dDwStnw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=ZpcvD69n; arc=none smtp.remote-ip=91.218.175.240 Received: from mta0.migadu.com (out-240.mta0.migadu.com [91.218.175.240]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C3C0606A31E for ; Tue, 27 Oct 2026 10:00:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6C3C0606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=ZpcvD69n X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=1HZaLJ3VfsBWwsUyLeKxbYeCIChpATR+0fJLCQMpzUA=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1793095205; v=1; x=1793700005; b=ZpcvD69nPhDa02ikOH6RWOyLKnYHPEOo+fRsZ5MI+GZHe//C+IYQh3WQyDxgwDxZbRWe/bve Or6p91J+rzW4xmS93MkBpSeWRTaosstIOwPBY7wSBJHY1HmovB8aNepDQ2WtcPMLrRd+v8QCBtW FYo8nsA+zDWUgnfLkc5StJ/k= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 71614f61cabf8515; Tue, 27 Oct 2026 10:00:04 +0000 X-Mizu-Trace-ID: 71614f61cabf8515 X-Migadu-Flow: FLOW_OUT X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Date: Tue, 27 Oct 2026 10:00:04 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Luka Gejak" Message-ID: TLS-Required: No Subject: Re: [PATCH ath-current] wifi: ath9k_htc: clear csa_vif when a switch is aborted To: "Mehmet Fide" , "=?utf-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?=" Cc: "Johannes Berg" , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, mehmet.fide@screeningeagle.com In-Reply-To: <20261026152537.1272836-1-mehmet.fide@gmail.com> References: <20261026152537.1272836-1-mehmet.fide@gmail.com> October 26, 2026 at 4:25 PM, "Mehmet Fide" wrote: >=20 >=20From: Mehmet Fide >=20 >=20priv->csa_vif is cleared only when the countdown completes or the > interface is removed. When mac80211 aborts a switch and stops > beaconing, as ieee80211_stop_ap() and ieee80211_stop_mesh() do, it > stays set, and the next switch on the interface hits the WARN_ON() in > ath9k_htc_channel_switch_beacon(). >=20 >=20Clear it when beaconing stops and the switch is no longer active. > Off channel, beaconing stops with the switch still active and the > countdown continues afterwards, so keep it then. >=20 >=20Fixes: f0e449627e4a ("ath9k_htc: add support of channel switch") > Reported-by: Luka Gejak > Closes: https://lore.kernel.org/linux-wireless/c8bc5affa75d7519b424ea98= c07c1d6b65942347@linux.dev/ > Signed-off-by: Mehmet Fide > --- Not an expert on ath family but, to my knowledge this is good. Reviewed-by: Luka Gejak Best regards, Luka Gejak