openwrt/package
Felix Fietkau 910eb0cc4e
Some checks failed
Build all core packages / Build all core packages for selected target (push) Has been cancelled
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>
(cherry picked from commit 3553eda283)
2026-02-09 08:22:10 +01:00
..
base-files OpenWrt v25.12.0-rc4: revert to branch defaults 2026-01-29 23:52:16 +01:00
boot uboot-rockchip: add HINLINK H28K support 2026-01-30 15:05:28 +01:00
devel kselftests-bpf: drop dependency on kernel 6.6 2025-11-27 12:47:16 +01:00
firmware qualcommax: ipq50xx: Add support for Zyxel SCR50AXE 2026-01-24 11:36:14 +01:00
kernel airoha: an7581: enable USB support 2026-02-07 17:03:16 +01:00
libs libpcap: update to 1.10.6 2026-01-29 10:47:14 +01:00
network wifi-scripts: fix spurious teardown on config_change during setup 2026-02-09 08:22:10 +01:00
system apk: backport upstream fix for invalid fetch timestamps 2026-02-05 17:12:56 +01:00
utils packages: nvram: add set_bcm43602_variables quirk for ASUS RT-AC3200 2026-01-23 16:06:24 +00:00
Makefile package: do not sign individual APK packages 2025-10-09 12:52:43 +02:00