1
0
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:
Martine Lenders 2015-06-19 17:13:10 +02:00
parent b3acefd340
commit 74430228cb

View File

@ -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;