[riot-notifications] [RIOT] drivers/ng_at86rf: disable ack req on bcast/mcast (#3149)

Martine Lenders notifications at github.com
Tue Jun 2 22:55:59 CEST 2015


> @@ -40,7 +40,9 @@ static size_t _make_data_frame_hdr(ng_at86rf2xx_t *dev, uint8_t *buf,
>      buf[1] = 0x88;      /* use short src and dst addresses as starting point */
>  
>      /* if AUTOACK is enabled, then we also expect ACKs for this packet */
> -    if (dev->options & NG_AT86RF2XX_OPT_AUTOACK) {
> +    if ((hdr->flags & NG_NETIF_HDR_FLAGS_BROADCAST) &&

Shouldn't the flag check be a negation for that?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3149/files#r31570094
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150602/4bdfdfce/attachment.html>


More information about the notifications mailing list