Reset retries when acking pending I frames
This commit is contained in:
parent
b360d7fc23
commit
c04fb3c845
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue