OSDN Git Service

ieee802154: 6lowpan: change if lowpan dev is running
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:21 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:03 +0000 (13:20 +0200)
commit989d433dca558fda85e592fc675af2a59af88858
treeb33e6f9c324a695cb8ac402d7610d54575bf14d5
parent348a882ea745039295e721ef00f1b46307fb1c88
ieee802154: 6lowpan: change if lowpan dev is running

We don't need to check if the wpan interface is running because the
lowpan_rcv is the packet layer receive handler for the wpan interface.

Instead doing a check if wpan interface is running we should check if
the lowpan interface is running before starting 6lowpan adaptation layer.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/rx.c