modules/freifunk: Fix small error for wireless protocol

This commit is contained in:
Manuel Munz 2010-11-18 03:26:27 +00:00
parent 8e62643c6a
commit 543e129ab5

View 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