luci-mod-admin-full: rework wifi configuration
authorJo-Philipp Wich <jo@mein.io>
Tue, 1 May 2018 19:12:12 +0000 (21:12 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 5 May 2018 21:11:23 +0000 (23:11 +0200)
commitfd1ddcc41955d7f259c4142b7530063607dcddf4
tree42056d5beae3d69644affdf6a52e1d60b672bcd4
parent8deb9495515b97898514e8ffb8f002c8afe3bfa7
luci-mod-admin-full: rework wifi configuration

- localize variables
- get rid of redirects breaking apply workflow
- auto-adjust unusable channels when switching country
- use apply/rollback workflow when enabling/disabling networks

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
modules/luci-mod-admin-full/luasrc/view/cbi/wireless_modefreq.htm