projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4e631
)
hostapd: add missing #ifdef to fix compile error when 802.11be support is disabled
author
Felix Fietkau
<nbd@nbd.name>
Wed, 5 Mar 2025 08:19:12 +0000
(09:19 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 5 Mar 2025 08:19:37 +0000
(09:19 +0100)
Fixes: d65d546bce36 ("hostapd: add missing ctrl socket initialization on bss add")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ucode.c
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/src/src/ap/ucode.c
b/package/network/services/hostapd/src/src/ap/ucode.c
index 7b1040e47c07ae7a86389d9e50203271a556fa9b..393e8f86c7252e673acdf7cc3c3a903ba4452611 100644
(file)
--- a/
package/network/services/hostapd/src/src/ap/ucode.c
+++ b/
package/network/services/hostapd/src/src/ap/ucode.c
@@
-362,8
+362,10
@@
uc_hostapd_iface_add_bss(uc_vm_t *vm, size_t nargs)
hapd->driver = iface->bss[0]->driver;
hapd->drv_priv = iface->bss[0]->drv_priv;
+#ifdef CONFIG_IEEE80211BE
os_strlcpy(hapd->ctrl_sock_iface, hapd->conf->iface,
sizeof(hapd->ctrl_sock_iface));
+#endif
if (interfaces->ctrl_iface_init &&
interfaces->ctrl_iface_init(hapd) < 0)
goto free_hapd;