]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: 6lowpan: remove multiple lowpan per wpan support
authorAlexander Aring <alex.aring@gmail.com>
Mon, 10 Aug 2015 19:15:53 +0000 (21:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 Aug 2015 18:43:06 +0000 (20:43 +0200)
commitf9a4320629fb65c85e8af70a35f1780c46065081
treea10d123f0f82fbeaa2c0f4e2c139377b9dd2d40b
parent223d4cc7997cf637c94999b4adcacb03c537ae1b
ieee802154: 6lowpan: remove multiple lowpan per wpan support

We currently supports multiple lowpan interfaces per wpan interface. I
never saw any use case into such functionality. We drop this feature now
because it's much easier do deal with address changes inside the under
laying wpan interface.

This patch removes the multiple lowpan interface and adds a lowpan_dev
netdev pointer into the wpan_dev, if this pointer isn't null the wpan
interface belongs to the assigned lowpan interface.

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