Skip to content
Snippets Groups Projects
Commit dbb5e886 authored by Gunar Schorcht's avatar Gunar Schorcht
Browse files

gnrc_netif_ieee802154: use pid member in netif header

Use the `gnrc_netif_t::pid` member instead of the pid of the current thread when generating the the `gnrc_netif_hdr` in `gnrc_netif_ieee802154::_recv` function.
parent 3876dd4b
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ static gnrc_pktsnip_t *_recv(gnrc_netif_t *netif)
gnrc_netif_hdr_t *hdr = netif_snip->data;
hdr->lqi = rx_info.lqi;
hdr->rssi = rx_info.rssi;
hdr->if_pid = thread_getpid();
hdr->if_pid = netif->pid;
LL_APPEND(pkt, netif_snip);
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment