modules/freifunk: Fix small error for wireless protocol
This commit is contained in:
parent
8e62643c6a
commit
543e129ab5
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ end
|
||||||
|
|
||||||
protocol = s:option(DummyValue, "_mode", translate("Protocol"))
|
protocol = s:option(DummyValue, "_mode", translate("Protocol"))
|
||||||
function protocol.cfgvalue(self, section)
|
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
|
return mode and "802." .. mode
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue