From 7c1fc0fbd02bf0da624e5f3cfc45d803c8517be2 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 13 Apr 2016 08:14:30 +0100 Subject: [PATCH] Read the status early to avoid timeouts. --- Modem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modem.cpp b/Modem.cpp index a912249..0a911f5 100644 --- a/Modem.cpp +++ b/Modem.cpp @@ -168,6 +168,8 @@ bool CModem::open() return false; } + readStatus(); + m_statusTimer.start(); m_inactivityTimer.start();