luci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()
authorJo-Philipp Wich <jo@mein.io>
Mon, 10 Jul 2017 14:08:21 +0000 (16:08 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 11 Jul 2017 12:05:31 +0000 (14:05 +0200)
commitb2154e0b632d28ba949092a19f95d5d8804e9a94
treebbd047e2192f442bbe94f7a630be4897256ce0ac
parent198e4ab17b36da30719d2941f13f7336aaee05bc
luci-mod-admin-mini: eliminate use of luci.sys.net.deviceinfo()

The luci-mod-admin-mini network controller is the only remaining user of the
deviceinfo() call so inline the required code there so that the function can
be dropped from base LuCI in a later commit.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua