modules/freifunk: Fix small error for wireless protocol
authorManuel Munz <freifunk@somakoma.de>
Thu, 18 Nov 2010 03:26:27 +0000 (03:26 +0000)
committerManuel Munz <freifunk@somakoma.de>
Thu, 18 Nov 2010 03:26:27 +0000 (03:26 +0000)
modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua

index 16f1d869010275dd0d8e8b634c1fa8cdcf51845a..80754852f0294f8e8741cc0169e835e2114264d6 100644 (file)
@@ -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