mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
gnrc_cc110x: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
2d1eda550a
commit
d129382484
@ -168,7 +168,7 @@ static gnrc_pktsnip_t *_recv(gnrc_netif_t *netif)
|
||||
gnrc_netif_hdr_set_dst_addr(netif_hdr->data, (uint8_t*)&cc110x_pkt->address, addr_len);
|
||||
}
|
||||
|
||||
((gnrc_netif_hdr_t *)netif_hdr->data)->if_pid = thread_getpid();
|
||||
gnrc_netif_hdr_set_netif(netif_hdr->data, netif);
|
||||
((gnrc_netif_hdr_t *)netif_hdr->data)->lqi = cc110x->pkt_buf.lqi;
|
||||
((gnrc_netif_hdr_t *)netif_hdr->data)->rssi = cc110x->pkt_buf.rssi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user