diff --git a/files/usr/local/bin/mgr/lqm.lua b/files/usr/local/bin/mgr/lqm.lua index ff81c887..f793b9da 100755 --- a/files/usr/local/bin/mgr/lqm.lua +++ b/files/usr/local/bin/mgr/lqm.lua @@ -647,12 +647,11 @@ function lqm() if track.type == "RF" then -- If we have a direct dtd connection to this device, make sure we use that + track.blocks.dtd = false for _, dtd in pairs(tracker) do if dtd.type == "DtD" and dtd.hostname == track.hostname then if dtd.distance and dtd.distance < dtd_distance then track.blocks.dtd = true - else - track.blocks.dtd = false end break end