modules/admin-full: Display wifi devices as enabled if user removes the disabled-option
This commit is contained in:
parent
565bcfab82
commit
0181d2dee7
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ en = s:option(Flag, "disabled", translate("enable"))
|
|||
en.enabled = "0"
|
||||
en.disabled = "1"
|
||||
|
||||
function en.cfgvalue(self, section)
|
||||
return Flag.cfgvalue(self, section) or "0"
|
||||
end
|
||||
|
||||
t = s:option(ListValue, "type", translate("type"))
|
||||
t:value("broadcom")
|
||||
t:value("atheros")
|
||||
|
|
Loading…
Reference in a new issue