Reset retries when acking pending I frames

This commit is contained in:
XANTRONIX Development 2020-08-23 22:04:58 -05:00 committed by XANTRONIX Industrial
parent b360d7fc23
commit c04fb3c845

View file

@ -1259,6 +1259,8 @@ static int frame_ack(patty_ax25_server *server,
patty_timer_stop(&sock->timer_t1); patty_timer_stop(&sock->timer_t1);
if (patty_ax25_sock_ack_pending(sock) > 0) { if (patty_ax25_sock_ack_pending(sock) > 0) {
sock->retries = sock->n_retry;
patty_timer_start(&sock->timer_t1); patty_timer_start(&sock->timer_t1);
} }
} }