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:
Nils Schneider 2015-03-10 15:35:13 +01:00
parent 8ee69212a3
commit 0f08020d39
1 changed files with 2 additions and 2 deletions

View File

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