1
0
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:
Martine Lenders 2018-12-12 19:44:03 +01:00 committed by Martine S. Lenders
parent 969e3b3e95
commit 92a8e5d0ee
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -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 */