mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #9470 from gebart/pr/netif-fcf-frame-pend
gnrc_netif_ieee802154: Set FCF Frame Pending when more data is expected
This commit is contained in:
commit
d852d90cd0
@ -187,6 +187,10 @@ static int _send(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
|
||||
return -EBADMSG;
|
||||
}
|
||||
netif_hdr = pkt->data;
|
||||
if (netif_hdr->flags & GNRC_NETIF_HDR_FLAGS_MORE_DATA) {
|
||||
/* Set frame pending field */
|
||||
flags |= IEEE802154_FCF_FRAME_PEND;
|
||||
}
|
||||
/* prepare destination address */
|
||||
if (netif_hdr->flags & /* If any of these flags is set assume broadcast */
|
||||
(GNRC_NETIF_HDR_FLAGS_BROADCAST | GNRC_NETIF_HDR_FLAGS_MULTICAST)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user