modules/admin-full: only allow multiple wireless interfaces if the driver actually supports it
This commit is contained in:
parent
cca896a02b
commit
a0d353e332
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ end
|
|||
----------------------- Interface -----------------------
|
||||
|
||||
s = m:section(TypedSection, "wifi-iface", translate("interfaces"))
|
||||
s.addremove = true
|
||||
s.addremove = (iw and iw.mbssid_support) and true or false
|
||||
s.anonymous = true
|
||||
s:depends("device", arg[1])
|
||||
s.defaults.device = arg[1]
|
||||
|
|
Loading…
Reference in a new issue