Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LasseRosenow committed Dec 9, 2024
1 parent 1ed77a2 commit 135f8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/riot/coap_udp_ip_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ static void _CoapUdpIpChannel_client_try_connect_callback(const gcoap_request_me

mutex_lock(&self->state_mutex);
{
// Failure
if (memo->state == GCOAP_MEMO_TIMEOUT || coap_get_code_class(pdu) != COAP_CLASS_SUCCESS) {
_CoapUdpIpChannel_update_state(self, NETWORK_CHANNEL_STATE_CONNECTION_FAILED);
return;
Expand Down

0 comments on commit 135f8b0

Please sign in to comment.