modules/base: provide disable state in luci.tools.status.wifi_network()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
parent
cee38c1177
commit
4fcb6d56bc
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ function wifi_network(id)
|
|||
country = net:country(),
|
||||
txpower = net:txpower(),
|
||||
txpoweroff = net:txpower_offset(),
|
||||
disabled = (dev:get("disabled") == "1" or
|
||||
net:get("disabled") == "1"),
|
||||
device = {
|
||||
up = dev:is_up(),
|
||||
device = dev:name(),
|
||||
|
|
Loading…
Reference in a new issue