mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
gnrc_gomach: use gnrc_netif_hdr_set_netif()
This commit is contained in:
parent
e0945ad64e
commit
3c105d8b33
@ -172,7 +172,7 @@ static int _parse_packet(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt,
|
||||
gnrc_netif_hdr_t *netif_hdr = netif_snip->data;
|
||||
netif_hdr->lqi = netif->mac.prot.gomach.rx_pkt_lqi;
|
||||
netif_hdr->rssi = netif->mac.prot.gomach.rx_pkt_rssi;
|
||||
netif_hdr->if_pid = netif->pid;
|
||||
gnrc_netif_hdr_set_netif(netif_hdr, netif);
|
||||
pkt->type = state->proto;
|
||||
gnrc_pktbuf_remove_snip(pkt, pkt->next);
|
||||
LL_APPEND(pkt, netif_snip);
|
||||
|
Loading…
Reference in New Issue
Block a user