1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 20:54:03 +02:00
This commit is contained in:
Nils Schneider 2015-04-09 09:29:25 +00:00
commit df919488bb

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