mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ng_sixlowpan: add missing return
This commit is contained in:
parent
b3acefd340
commit
74430228cb
@ -79,6 +79,7 @@ void _receive(ng_pktsnip_t *pkt)
|
|||||||
if ((payload == NULL) || (payload->size < 1)) {
|
if ((payload == NULL) || (payload->size < 1)) {
|
||||||
DEBUG("6lo: Received packet has no 6LoWPAN payload\n");
|
DEBUG("6lo: Received packet has no 6LoWPAN payload\n");
|
||||||
ng_pktbuf_release(pkt);
|
ng_pktbuf_release(pkt);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch = payload->data;
|
dispatch = payload->data;
|
||||||
|
Loading…
Reference in New Issue
Block a user