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:
parent
fe29514597
commit
c7eea4d0d5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user