mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
tinydtls_sock_dtls: don't put alert & EVENT_CONNECT in mbox
This commit is contained in:
parent
2e16b90b38
commit
44f2f50c89
@ -117,7 +117,9 @@ static int _event(struct dtls_context_t *ctx, session_t *session,
|
||||
break;
|
||||
}
|
||||
#endif /* ENABLE_DEBUG */
|
||||
mbox_put(&sock->mbox, &msg);
|
||||
if (!level && (code != DTLS_EVENT_CONNECT)) {
|
||||
mbox_put(&sock->mbox, &msg);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user