[EGD-6796] Fix excesive ATA command with HSP This commit fixes excesive ATA cmd in HSP by checking call type in ServiceCellular.
2 files changed, 10 insertions(+), 0 deletions(-) M module-services/service-cellular/ServiceCellular.cpp M module-services/service-cellular/service-cellular/CellularCall.hpp
M module-services/service-cellular/ServiceCellular.cpp => module-services/service-cellular/ServiceCellular.cpp +4 -0
@@ 1913,6 1913,10 @@ void ServiceCellular::apnListChanged(const std::string &value) auto ServiceCellular::handleCellularAnswerIncomingCallMessage(CellularMessage *msg) -> std::shared_ptr<CellularResponseMessage> { if (ongoingCall.getType() != CallType::CT_INCOMING) { return std::make_shared<CellularResponseMessage>(true); } auto channel = cmux->get(CellularMux::Channel::Commands); auto ret = false; if (channel) {
M module-services/service-cellular/service-cellular/CellularCall.hpp => module-services/service-cellular/service-cellular/CellularCall.hpp +6 -0