if bl.b then bands = bands .. "b" end
if bl.g then bands = bands .. "g" end
if bl.n then bands = bands .. "n" end
+ if bl.ac then bands = bands .. "ac" end
end
local hw = dev.iwinfo.hardware_name
var toggle = document.getElementById(iw.id + '-iw-toggle');
if (toggle)
{
- if (is_assoc)
+ if (!iw.disabled)
{
toggle.className = 'cbi-button cbi-button-reset';
toggle.value = '<%:Disable%>';