From 543e129ab56f1c96962a0c9a3d8fe2279f5cd2db Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 18 Nov 2010 03:26:27 +0000 Subject: modules/freifunk: Fix small error for wireless protocol --- modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3