All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Gaston Guevara <guevara.gaston@gmail.com>,
	linux-wireless@vger.kernel.org
Cc: johannes@sipsolutions.net
Subject: Re: [BUG] ath9k: WARN in ieee80211_beacon_cntdwn_is_complete() on every CSA when AP and STA share a radio (ath9k_csa_update() visits the STA vif)
Date: Mon, 23 Nov 2026 16:40:31 +0100	[thread overview]
Message-ID: <87mrqzeets.fsf@toke.dk> (raw)
In-Reply-To: <CABMxrRyvsFy7qGXky-OF1KE3c04z0xO_XMGnJC28L0WHE9AF9Q@mail.gmail.com>

> --- a/drivers/net/wireless/ath/ath9k/beacon.c
> +++ b/drivers/net/wireless/ath/ath9k/beacon.c
> @@ bool ath9k_csa_is_finished(struct ath_softc *sc, struct ieee80211_vif *vif)
>  {
> - if (!vif || !vif->bss_conf.csa_active)
> + if (!vif || vif->type == NL80211_IFTYPE_STATION ||
> + !vif->bss_conf.csa_active)
>                  return false;

I think this makes sense, please send a proper patch.

-Toke

  reply	other threads:[~2026-11-23 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 21:30 [BUG] ath9k: WARN in ieee80211_beacon_cntdwn_is_complete() on every CSA when AP and STA share a radio (ath9k_csa_update() visits the STA vif) Gaston Guevara
2026-11-23 15:40 ` Toke Høiland-Jørgensen [this message]
2026-11-23 21:08   ` [PATCH ath-next] wifi: ath9k: don't check CSA completion on station interfaces Gaston Guevara
2026-11-23 21:47     ` Toke Høiland-Jørgensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mrqzeets.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=guevara.gaston@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.