]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ieee802154: add security bit check function
authorAlexandre Macabies <web+oss@zopieux.com>
Tue, 12 Apr 2016 16:53:00 +0000 (18:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Apr 2016 08:36:02 +0000 (10:36 +0200)
commitbc405cd69a728d0a82bae8395fe43ec7b0afd1c6
treeb226beab180453a2a96e2480711e5b3a8fabd84d
parentb30d27f5bba2c65fb571ad7448b18dfee2fd63ae
ieee802154: add security bit check function

ieee802154_is_secen checks if the 802.15.4 security bit is set in the
frame control field.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Alexandre Macabies <web+oss@zopieux.com>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Acked-by: Alan Ott <alan@signal11.us>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h