]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: fix undeclared variable in service wifi-device injection
authorFelix Fietkau <nbd@nbd.name>
Fri, 10 Jul 2026 11:57:49 +0000 (13:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 16 Jul 2026 09:50:21 +0000 (11:50 +0200)
commiteb5ccabf0edc0ed88b29c8d3cbea7effc3ecd285
treed762a396e2e6d4547fd0a5c94b2a6eda73d68cdd
parent06a7b0245faf2a75d20f374d57b958b1050e8e28
wifi-scripts: fix undeclared variable in service wifi-device injection

The wifi-device injection path used object shorthand `name` where no such
variable is in scope (the loop binds radio/config), so under the strict VM
config_init threw and the whole wireless configuration for that reload was
skipped. Use the radio key as the device name.

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