From: Manuel Munz Date: Thu, 18 Nov 2010 03:26:27 +0000 (+0000) Subject: modules/freifunk: Fix small error for wireless protocol X-Git-Tag: 0.10.0~430 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=543e129ab56f1c96962a0c9a3d8fe2279f5cd2db;p=oweals%2Fluci.git modules/freifunk: Fix small error for wireless protocol --- 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