summaryrefslogtreecommitdiffhomepage
path: root/modules/base/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/luasrc')
-rw-r--r--modules/base/luasrc/tools/status.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/base/luasrc/tools/status.lua b/modules/base/luasrc/tools/status.lua
index 27bc925bd2..0efc51be23 100644
--- a/modules/base/luasrc/tools/status.lua
+++ b/modules/base/luasrc/tools/status.lua
@@ -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(),