1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

sys/net/sixlowpan: change to release lowpan.c::lowpan_context_mutex when no context is recognized

This commit is contained in:
BytesGalore 2015-02-10 12:25:42 +01:00
parent fe29514597
commit c7eea4d0d5

View File

@ -1286,6 +1286,7 @@ void lowpan_iphc_decoding(uint8_t *data, uint8_t length, net_if_eui64_t *s_addr,
if (con == NULL) {
printf("ERROR: context not found\n");
mutex_unlock(&lowpan_context_mutex);
return;
}
@ -1386,6 +1387,7 @@ void lowpan_iphc_decoding(uint8_t *data, uint8_t length, net_if_eui64_t *s_addr,
if (con == NULL) {
printf("ERROR: context not found\n");
mutex_unlock(&lowpan_context_mutex);
return;
}
@ -1462,6 +1464,7 @@ void lowpan_iphc_decoding(uint8_t *data, uint8_t length, net_if_eui64_t *s_addr,
if (con == NULL) {
printf("ERROR: context not found\n");
mutex_unlock(&lowpan_context_mutex);
return;
}