1
1
openwrt/package
Felix Fietkau a6969351a7 hostapd: clear start_disabled when adding a BSS to an enabled iface
In AP+STA mode, wifi-scripts emits start_disabled=1 in the per-BSS
section of the generated hostapd config so that hostapd defers
beaconing on every BSS until apsta_state up clears the flag for the
whole iface (uc_hostapd_iface_start clears start_disabled on every BSS
and calls ieee802_11_set_beacon).

When a new BSS is added later via iface.add_bss while the iface is
already in HAPD_IFACE_ENABLED state, the freshly parsed config still
carries start_disabled=1 for that BSS. hostapd_setup_bss is invoked
with start_beacon=true, but hostapd_start_beacon then skips
ieee802_11_set_beacon because conf->start_disabled is set. The kernel
netdev is created without ever starting beacons, the carrier never
comes up, and probe-response transmission attempts fail with
"handle_probe_req: send failed".

Mirror what iface.start does: when the iface is already enabled, the
apsta channel selection has happened, so clear start_disabled for the
incoming BSS before starting it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-05-04 16:29:37 +02:00
..
base-files dropbear: don't spread conffiles across two packages 2026-04-29 09:32:03 +02:00
boot uboot-tools: envtools: add support for ELECOM WRC-X6000GSD 2026-05-03 01:14:11 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware wireless-regdb: update to version 2026.03.18 2026-04-30 02:10:03 +02:00
kernel kernel: remove ax25 2026-05-04 16:29:36 +02:00
libs libsemanage: update to 3.10 2026-04-27 10:50:53 +02:00
network hostapd: clear start_disabled when adding a BSS to an enabled iface 2026-05-04 16:29:37 +02:00
system ca-certificates: update to 20260223 2026-04-30 00:17:59 +02:00
utils ucode: update to Git HEAD (2026-04-24) 2026-05-04 16:29:36 +02:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:17:21 +01:00