summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua b/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua
index 16f1d8690..80754852f 100644
--- a/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua
+++ b/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua
@@ -85,7 +85,7 @@ end
protocol = s:option(DummyValue, "_mode", translate("Protocol"))
function protocol.cfgvalue(self, section)
- local mode = wireless[self.map:get(section, "device")].mode
+ local mode = wireless[self.map:get(section, "device")].hwmode
return mode and "802." .. mode
end