On 5/27/2026 5:46 PM, Dmitry Baryshkov wrote:
On Tue, May 26, 2026 at 01:26:29AM -0700, Wei Zhang wrote:
cca_settings is used without zero initialization, which may
introduce random values and result in invalid nl80211
attributes.

Without this fix, BSS color switch may fail completely and
the feature becomes non-functional. Initialize the structure
before use.

Signed-off-by: Wei Zhang <[email protected]>
---
  ...learing-up-settings-for-color-switch.patch | 34 +++++++++++++++++++
  .../hostapd/hostapd_2.11.bb                   |  1 +
  2 files changed, 35 insertions(+)
  create mode 100644 
meta-oe/recipes-connectivity/hostapd/hostapd/0002-hostapd-Fix-clearing-up-settings-for-color-switch.patch

Reviewed-by: Dmitry Baryshkov <[email protected]>

The patch also needs to be backported to the wrynose branch, I assume.
Should it be backported to older LTS branches?
Yes, this needs to be backported to both wrynose and whinlatter. Both use hostapd 2.11, which introduced this regression. Older LTS branches (scarthgap, kirkstone) use hostapd 2.10 and are not affected.

Thanks,
Wei

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127265): 
https://lists.openembedded.org/g/openembedded-devel/message/127265
Mute This Topic: https://lists.openembedded.org/mt/119493573/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to