Fix uninintialized frame ack field
Fix uninintialized frame ack field when initializing TX slots
This commit is contained in:
parent
484981de34
commit
06ddf1bbaf
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ static int init_bufs(patty_ax25_sock *sock) {
|
|||
struct slot *slot = tx_slot(sock, i);
|
||||
|
||||
slot->len = 0;
|
||||
slot->ack = 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue