Re: [PATCH 14/20] wifi: nl80211: reject beacons with bad HE operation

Johannes Berg
2026-04-20T13:44:57Z

On Wed, 2026-04-15 at 14:42 +0200, Johannes Berg wrote:
>
> --- a/net/wireless/nl80211.c
> +++ b/net/wireless/nl80211.c
> @@ -6641,10 +6641,6 @@ static void nl80211_check_ap_rate_selectors(struct cfg80211_ap_settings *params,
> params->ht_required = true;
> if (rates->data[i] == BSS_MEMBERSHIP_SELECTOR_VHT_PHY)
> params->vht_required = true;
> - if (rates->data[i] == BSS_MEMBERSHIP_SELECTOR_HE_PHY)
> - params->he_required = true;
> - if (rates->data[i] == BSS_MEMBERSHIP_SELECTOR_SAE_H2E)
> - params->sae_h2e_required = true;
> }
> }

Not sure how that happened now when I was re-doing the patches on
wireless-next, but clearly this should be part of the previous patch,
not this one.

johannes