core: fix channel adjustable
This commit is contained in:
parent
6e0e4c7aed
commit
057bc2334c
@ -54,7 +54,7 @@ end
|
|||||||
|
|
||||||
local function get_channel(radio, config)
|
local function get_channel(radio, config)
|
||||||
local channel
|
local channel
|
||||||
if wireless.preserve_channels(uci) then
|
if wireless.preserve_channels(uci) or config.channel_adjustable(false) then
|
||||||
-- preserved channel always wins
|
-- preserved channel always wins
|
||||||
channel = radio.channel
|
channel = radio.channel
|
||||||
elseif radio.band == '5g' and is_outdoor() then
|
elseif radio.band == '5g' and is_outdoor() then
|
||||||
|
Loading…
Reference in New Issue
Block a user