openwrt/package
Felix Fietkau 3553eda283
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
wifi-scripts: fix spurious teardown on config_change during setup
When config_change is set during an active setup (e.g. by a concurrent
reconf call), wdev_mark_up() attempted to call setup() while still in
"setup" state. Since setup() requires state "up" or "down", it silently
returned, leaving the state as "setup". The subsequent wdev_setup_cb()
then treated this as a setup failure, triggering an unnecessary
teardown+restart cycle.

Fix this by removing the config_change handling from wdev_mark_up() and
moving it to wdev_setup_cb() instead. wdev_mark_up() now always
transitions to "up" state. When wdev_setup_cb() runs afterwards and
finds the device already "up" with config_change set, it initiates a
clean re-setup from the "up" state where setup() can run.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-02-08 19:46:45 +01:00
..
base-files build: use STAGING_DIR for special APK package versions 2026-02-01 11:16:54 +01:00
boot uboot-envtools: fix meraki mr24 definition 2026-02-08 18:37:43 +01:00
devel strace: use bundled kernel headers 2026-01-21 11:41:59 +01:00
firmware linux-firmware: update to 20260110 2026-01-30 16:51:32 +01:00
kernel lantiq: ltq-adsl: remove of_platform header 2026-02-04 00:38:31 +01:00
libs jansson: update to 2.15.0 2026-02-07 09:04:19 +01:00
network wifi-scripts: fix spurious teardown on config_change during setup 2026-02-08 19:46:45 +01:00
system procd: reload_config: support UCI overlay directory 2026-02-07 10:04:17 +01:00
utils cli: add cidr6 data type 2026-02-07 10:04:18 +01:00
Makefile build: use STAGING_DIR for special APK package versions 2026-02-01 11:16:54 +01:00