diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-27 17:13:41 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-27 18:07:49 +0100 |
commit | d0e73c470471a0f2eda02de44fb17f020b32269c (patch) | |
tree | 5d17e157409f73aa6738432b6900d295d9ae6d2b /net/mac802154/rx.c | |
parent | fa491001e4edae5ed68a562b61ed729968a3ca1c (diff) | |
download | op-kernel-dev-d0e73c470471a0f2eda02de44fb17f020b32269c.zip op-kernel-dev-d0e73c470471a0f2eda02de44fb17f020b32269c.tar.gz |
at86rf230: use ieee802154_is_valid_psdu_len helper
This patch adds the ieee802154_is_valid_psdu_len function to validate
the psdu length. If the psdu length is invalid we use the maximum
payload to receive also corrupted frames in monitor mode.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/rx.c')
0 files changed, 0 insertions, 0 deletions