]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: fix handling changes to the wifi device disabled flag
authorFelix Fietkau <nbd@nbd.name>
Mon, 4 Aug 2025 09:46:05 +0000 (11:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 4 Aug 2025 09:46:42 +0000 (11:46 +0200)
commitde447b93e084862a105ecbddac1ea4d56309f888
tree6e205477e2466210662d4729ca2b609de6bc0bd2
parentf3dd291b62c0578db2982c58cf5105aad54be1d7
wifi-scripts: fix handling changes to the wifi device disabled flag

Allow toggling autostart even for disabled devices
When switching from enabled to disabled, call teardown instead of setup

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