diff --git a/mbus/mbus-protocol-aux.c b/mbus/mbus-protocol-aux.c index fc9a147..ef607ae 100755 --- a/mbus/mbus-protocol-aux.c +++ b/mbus/mbus-protocol-aux.c @@ -1672,6 +1672,7 @@ mbus_sendrecv_request(mbus_handle *handle, int address, mbus_frame *reply, int m if (result == MBUS_RECV_RESULT_OK) { + retry = 0; mbus_purge_frames(handle); } else if (result == MBUS_RECV_RESULT_TIMEOUT)