Skip to content
Commit 5925d718 authored by Rafał Kuźnia's avatar Rafał Kuźnia Committed by Anas Nashif
Browse files

drivers: ieee802154: nrf5: drop packets that are too long



There was an observed situation where the assert checking frame length
is below 128 bytes was hit. While the nrf-802154 checks that the frame
does not exceed that size, there might exists code paths that allow such
packets to pass through.

The change removes the assert and drops the packet instead.
An error is also printed to allow for further debugging.

Signed-off-by: default avatarRafał Kuźnia <rafal.kuznia@nordicsemi.no>
parent 10a69bf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment