From 08357c4b1149b0cd9dca7b5d2c6c8f1021604ba3 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Sat, 11 Aug 2018 10:54:21 -0400 Subject: [PATCH] Fixed issue with changing frequency in response to directed allcalls --- mainwindow.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 0f74279..aceb867 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -8742,8 +8742,11 @@ void MainWindow::processCommandActivity() { continue; } - // queue the reply here to be sent when a free interval is available - enqueueMessage(PriorityNormal, reply, d.freq, nullptr); + // queue the reply here to be sent when a free interval is available on the frequency that was sent + // unless, this is an allcall, to which we should be responding on a clear frequency offset + // we always want to make sure that the directed cache has been updated at this point so we have the + // most information available to make a frequency selection. + enqueueMessage(PriorityNormal, reply, isAllCall ? -1 : d.freq, nullptr); } }