]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: reset the retry counter on successful setup
authorFelix Fietkau <nbd@nbd.name>
Fri, 10 Jul 2026 12:44:51 +0000 (14:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 16 Jul 2026 09:50:22 +0000 (11:50 +0200)
commitfedefbf50f6aaea58ae8e3bfce76ff5230606ed1
tree224241a3a1184b96b2fb5d1234534303d67d4509
parent5379d034e08988d90617f80782ed13458959e236
wifi-scripts: reset the retry counter on successful setup

retry was only reset on config change/start, never on a successful setup,
so occasional transient setup failures accumulated over a device lifetime
and latched retry_setup_failed after three cumulative failures. Reset it
when the device comes up.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files/lib/netifd/wireless-device.uc