[riot-notifications] [RIOT-OS/RIOT] nrf802154: Validate frame length before dst filter (#11191)
notifications at github.com
Fri Apr 5 11:51:21 CEST 2019
bergzand commented on this pull request.
> @@ -131,6 +131,26 @@ static void _enable_tx(void)
NRF_RADIO->TASKS_START = 1;
+ * @brief basic ieee802.15.4 data frame validation
+static bool _data_frame_filter(void)
+ size_t psdu_len = rxbuf;
> does this rly need an own variable?
No. I've made it a separate variable to improve readability. The compiler is smart enough to not let it impact the code size.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications