mrf24j40: fix security-enabled processing on inbound frames
authorAlexandre Macabies <web+oss@zopieux.com>
Tue, 12 Apr 2016 16:53:01 +0000 (18:53 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 13 Apr 2016 08:36:02 +0000 (10:36 +0200)
commit5a62f3c6de73bd0b4ac40a33674d20f1bfb586d5
tree84b56b28454bafaafae5b31ca8503257c2a37847
parentbc405cd69a728d0a82bae8395fe43ec7b0afd1c6
mrf24j40: fix security-enabled processing on inbound frames

When receiving a security-enabled IEEE 802.15.4 frame, the MRF24J40
triggers a SECIF interrupt that needs to be handled for RX processing
to keep functioning properly.

This patch enables the SECIF interrupt and makes the MRF ignores all
hardware processing of security-enabled frames, that is handled by the
ieee802154 stack instead.

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>
drivers/net/ieee802154/mrf24j40.c