ieee802154: 6lowpan: fix return of netdev notifier
authorAlexander Aring <aar@pengutronix.de>
Mon, 22 Feb 2016 08:13:55 +0000 (09:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Feb 2016 19:29:40 +0000 (20:29 +0100)
commitebba380cc94689e372387aa7f63c063a3663e846
treecfc6184600c67aa8c3f7c673c02fad978a2521a3
parent5609c185f24dffca5f6a9c127106869da150be03
ieee802154: 6lowpan: fix return of netdev notifier

This patch fixed the return value of netdev notifier. If the command is
a don't care a NOTIFY_DONE should be returned. If the command matched a
NOTIFY_OK should be returned.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/core.c