mesh-ba-core: remove dead code
hwmodes 11ng and 11na are invalid values: http://wiki.openwrt.org/doc/uci/wireless
This commit is contained in:
parent
8ee69212a3
commit
0f08020d39
|
@ -88,9 +88,9 @@ uci:foreach('wireless', 'wifi-device',
|
|||
for index, radio in ipairs(radios) do
|
||||
local hwmode = uci:get('wireless', radio, 'hwmode')
|
||||
|
||||
if hwmode == '11g' or hwmode == '11ng' then
|
||||
if hwmode == '11g' then
|
||||
configure_radio(radio, index, site.wifi24)
|
||||
elseif hwmode == '11a' or hwmode == '11na' then
|
||||
elseif hwmode == '11a' then
|
||||
configure_radio(radio, index, site.wifi5)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue