diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua index f6027594f..bf7f5b2f6 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -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] |