luci-base: reorder private functions
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Jan 2018 23:30:53 +0000 (00:30 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 1 Jan 2018 23:30:53 +0000 (00:30 +0100)
commitc8b48f95246c30ca486567b3a1d96df16e0c2d8c
treebb160b207047154a2a90375c5193db8530f3f514
parentf9b8d7ff7bbd3c82f9889b65af07a28d94d9fed7
luci-base: reorder private functions

The _wifi_sid_by_ifname() function depends on _wifi_state_by_ifname()
so reorder the private helper functions accordingly to avoid nil value
call attempts.

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