gnrc_tcp: fix return on closed state

master
Martine Lenders 6 years ago
parent f0ae5d2dd8
commit 1fdad5b184
No known key found for this signature in database
GPG Key ID: 8E97A9FE55F25D62

@ -525,7 +525,7 @@ void gnrc_tcp_close(gnrc_tcp_tcb_t *tcb)
/* Return if connection is closed */
if (tcb->state == FSM_STATE_CLOSED) {
mutex_unlock(&(tcb->function_lock));
return 0;
return;
}
/* Mark TCB as waiting for incomming messages */

Loading…
Cancel
Save