rags/0.8.3: backport wifi and olsr fixes
ign = p:option(Flag, "ignore", "Enable")
ign.enabled = "0"
ign.disabled = "1"
ign = p:option(Flag, "ignore", "Enable")
ign.enabled = "0"
ign.disabled = "1"
function ign.cfgvalue(self, section)
return Flag.cfgvalue(self, section) or "0"
end
function ign.cfgvalue(self, section)
return Flag.cfgvalue(self, section) or "0"
end
end
ign = t:option( Flag, "ignore", "Enabled" )
end
ign = t:option( Flag, "ignore", "Enabled" )
function ign.cfgvalue(self, section)
return Flag.cfgvalue(self, section) or "0"
end
function ign.cfgvalue(self, section)
return Flag.cfgvalue(self, section) or "0"
end
mode:value("11adt", "802.11adt")
mode:value("fh", translate("wifi_fh"))
mode:value("11adt", "802.11adt")
mode:value("fh", translate("wifi_fh"))
- s:option(Flag, "diversity", translate("wifi_diversity"))
+ s:option(Flag, "diversity", translate("wifi_diversity")).rmempty = false
if not nsantenna then
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true
if not nsantenna then
s:option(Value, "txantenna", translate("wifi_txantenna")).optional = true