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

sixlowpan: iphc: remove dispatch and assign result to pkt

This commit is contained in:
Cenk Gündoğan 2015-12-22 20:47:46 +01:00
parent 17e21e33cc
commit 237706dd9e

View File

@ -151,7 +151,7 @@ static void _receive(gnrc_pktsnip_t *pkt)
}
/* Remove IPHC dispatches */
gnrc_pktbuf_remove_snip(pkt, sixlowpan);
pkt = gnrc_pktbuf_remove_snip(pkt, sixlowpan);
/* Insert decoded header instead */
LL_SEARCH_SCALAR(dec_hdr, tmp, next, NULL); /* search last decoded header */
tmp->next = pkt->next;