[riot-notifications] [RIOT-OS/RIOT] drivers/at86rf215: Add driver for the AT86RF215 dual-band IEEE 802.15.4-2015 radio (#12128)

tinstructor notifications at github.com
Mon Sep 30 11:00:40 CEST 2019


@benpicco So I added some print statements to the `_recv()` function on line 95 of `sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c` (where `dev->driver->recv()` is supposed to be called twice) and I found out that the first call returns an integer (i.e., `bytes_expected`) that is neither `bytes_expected >= (int)IEEE802154_MIN_FRAME_LEN` nor `bytes_expected > 0` and hence a NULL pointer (`gnrc_pktsnip_t *pkt = NULL;`) is returned.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12128#issuecomment-536470497
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190930/aa346a9a/attachment.htm>


More information about the notifications mailing list