Don't stop Timer T3 only when stopping I transmit
This commit is contained in:
parent
5ccd2efbda
commit
582c7f04d6
1 changed files with 1 additions and 2 deletions
|
@ -2213,8 +2213,6 @@ static int handle_sock(uint32_t key,
|
|||
*/
|
||||
if (patty_ax25_sock_flow_left(sock) == 1) {
|
||||
sock_flow_stop(server, sock);
|
||||
|
||||
patty_timer_stop(&sock->timer_t3);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -2244,6 +2242,7 @@ static int handle_sock(uint32_t key,
|
|||
}
|
||||
|
||||
patty_timer_start(&sock->timer_t1);
|
||||
patty_timer_stop(&sock->timer_t3);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue