mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
nrfmin_gnrc: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
969e3b3e95
commit
92a8e5d0ee
@ -162,7 +162,7 @@ static gnrc_pktsnip_t *gnrc_nrfmin_recv(gnrc_netif_t *dev)
|
||||
}
|
||||
netif->lqi = 0;
|
||||
netif->rssi = 0;
|
||||
netif->if_pid = dev->pid;
|
||||
gnrc_netif_hdr_set_netif(netif, dev);
|
||||
pkt_snip->type = nrfmin->proto;
|
||||
|
||||
/* finally: remove the nrfmin header and append the netif header */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user