summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-11-18 03:26:27 +0000
committerManuel Munz <freifunk@somakoma.de>2010-11-18 03:26:27 +0000
commit543e129ab56f1c96962a0c9a3d8fe2279f5cd2db (patch)
treef6494c5ba11ae2e208e76cbf1f5c1defb836e553
parent8e62643c6a1f26090bbd85de9861d7411d084b4d (diff)
modules/freifunk: Fix small error for wireless protocol
-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 16f1d86901..80754852f0 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