pull/224/head
Michael Black 2020-04-22 14:41:31 -05:00
commit da26ff74d8
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2163,7 +2163,7 @@ struct rig_caps netrigctl_caps =
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_NETWORK,
.timeout = 2500, /* enough for a network */
.retry = 2,
.retry = 3,
/* following fields updated in rig_state at openning time */
.has_get_func = RIG_FUNC_NONE,

Wyświetl plik

@ -326,6 +326,7 @@ transaction_read:
if (retval < 0)
{
rig_debug(RIG_DEBUG_WARN, "%s: read_string retval < 0, retval = %d, retry_read=%d, retry=%d\n", __func__, retval);
// only retry if we expect a response from the command
if (datasize && retry_read++ < rs->rigport.retry)
{