mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc_xbee: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
92a8e5d0ee
commit
69eb7069e9
@ -86,7 +86,7 @@ static gnrc_pktsnip_t *xbee_adpt_recv(gnrc_netif_t *netif)
|
||||
return NULL;
|
||||
}
|
||||
netif_hdr = (gnrc_netif_hdr_t *)netif_snip->data;
|
||||
netif_hdr->if_pid = netif->pid;
|
||||
gnrc_netif_hdr_set_netif(netif_hdr, netif);
|
||||
netif_hdr->rssi = l2hdr.rssi;
|
||||
if (l2hdr.bcast) {
|
||||
netif_hdr->flags = GNRC_NETIF_HDR_FLAGS_BROADCAST;
|
||||
|
Loading…
Reference in New Issue
Block a user