diff --git a/package/gluon-web-wifi-config/luasrc/lib/gluon/config-mode/model/admin/wifi-config.lua b/package/gluon-web-wifi-config/luasrc/lib/gluon/config-mode/model/admin/wifi-config.lua index 3f0169418a..330ab4a2f0 100644 --- a/package/gluon-web-wifi-config/luasrc/lib/gluon/config-mode/model/admin/wifi-config.lua +++ b/package/gluon-web-wifi-config/luasrc/lib/gluon/config-mode/model/admin/wifi-config.lua @@ -96,6 +96,10 @@ uci:foreach('wireless', 'wifi-device', function(config) vif_option('client', {'client', 'owe'}, translate('Enable client network (access point)')) local mesh_vif = vif_option('mesh', {'mesh'}, translate("Enable mesh network (802.11s)")) + if not wireless.supports_channel(radio, config.channel()) then + mesh_vif.disabled = true + end + if is_5ghz then table.insert(mesh_vifs_5ghz, mesh_vif) end