1
0
Fork 0
forked from mirror/openwrt
openwrt/package/network/config
Felix Fietkau 3553eda283 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
..
firewall firewall: change synflood_protect option name 2026-01-24 21:33:15 +01:00
firewall4
gre
ipip
ltq-adsl-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
ltq-vdsl-vr9-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
ltq-vdsl-vr11-app treewide: remove lantiq dot com URL 2026-01-02 18:07:02 +01:00
netifd netifd: ensure netifd_loglevel default value as fallback 2026-02-02 09:47:41 +01:00
qos-scripts
qosify
soloscli treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
swconfig
vti
vxlan
wifi-scripts wifi-scripts: fix spurious teardown on config_change during setup 2026-02-08 19:46:45 +01:00
xfrm