modules/admin-full: only allow multiple wireless interfaces if the driver actually supports it

This commit is contained in:
Jo-Philipp Wich 2009-08-19 23:31:33 +00:00
parent cca896a02b
commit a0d353e332

View file

@ -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]