From 3c105d8b3328ab24a9dfeee6ae5d4eaa1557baba Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 12 Dec 2018 19:46:26 +0100 Subject: [PATCH] gnrc_gomach: use gnrc_netif_hdr_set_netif() --- sys/net/gnrc/link_layer/gomach/gomach_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/gnrc/link_layer/gomach/gomach_internal.c b/sys/net/gnrc/link_layer/gomach/gomach_internal.c index 85b3ee54de..b9270fc7e3 100644 --- a/sys/net/gnrc/link_layer/gomach/gomach_internal.c +++ b/sys/net/gnrc/link_layer/gomach/gomach_internal.c @@ -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);