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:
parent
17e21e33cc
commit
237706dd9e
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user