]> 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)
commit626e77349253af057edcb62c843f0ec5e213fa21
treea10d123f0f82fbeaa2c0f4e2c139377b9dd2d40b
parent7e9c302624c12aebe34ca25a0298681f83d9ca48
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