From 909be7c9fae643ec5c24f81e2041db468eb52c19 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 29 Sep 2026 09:07:03 +0200 Subject: [PATCH] hostapd: build the DPP frame link choice without IEEE 802.11be hostapd_dpp_freq_bss() reads hapd->conf->mld_ap, which exists only with CONFIG_IEEE80211BE, so ucode.c did not build without it. Without it there is no AP MLD, and the BSS the caller reached answers. Signed-off-by: Felix Fietkau --- package/network/services/hostapd/src/src/ap/ucode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/network/services/hostapd/src/src/ap/ucode.c b/package/network/services/hostapd/src/src/ap/ucode.c index 45fb5f7a96d..54e4a47df4f 100644 --- a/package/network/services/hostapd/src/src/ap/ucode.c +++ b/package/network/services/hostapd/src/src/ap/ucode.c @@ -995,6 +995,7 @@ uc_wpa_rkh_derive_key(uc_vm_t *vm, size_t nargs) static struct hostapd_data * hostapd_dpp_freq_bss(struct hostapd_data *hapd, unsigned int freq) { +#ifdef CONFIG_IEEE80211BE struct hostapd_data *link; if (!hapd->conf->mld_ap) @@ -1003,6 +1004,7 @@ hostapd_dpp_freq_bss(struct hostapd_data *hapd, unsigned int freq) for_each_mld_link(link, hapd) if (link->iface->freq == (int)freq) return link; +#endif /* CONFIG_IEEE80211BE */ return hapd; }