[OpenWrt-Devel] How to trigger wifi reload from wifi.lua

Jo-Philipp Wich jo at mein.io
Thu Oct 24 07:21:56 EDT 2019


> On the Luci GUI, the current behaviour of Save&Apply of changes to the
> items in wifi.lua and wireless_modefreq.htm is to invoke a network
> restart. I would like to to change this behavior to invoke wifi restart
> directly from wifi.lua.

This is not supported and will confuse the netifd wireless state
tracking. You should instead extend the netifd wireless handlers to
properly deal with updated values.

~ Jo

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list