luci-base: eliminiate use of uci state vars in luci.sys
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2015 13:11:11 +0000 (14:11 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 27 Oct 2015 13:13:05 +0000 (14:13 +0100)
commit927dc1aff9973e781af742be7835e499bb701a60
treecb84a4b4ee87bfb891fbe8837580c3ac4b250033
parent57ba1922b7ad34886c96a1afcc364472568db462
luci-base: eliminiate use of uci state vars in luci.sys

Rewrite `luci.sys.wifi.getiwinfo()` to use the ubus wireless state instead of
depreacated uci state vars in order to map abstract network notation to
wireless ifnames.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/sys.lua