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)
commit51e0e5d8124ece158927a4c2288c0929d3b53aa3
treea10d123f0f82fbeaa2c0f4e2c139377b9dd2d40b
parent77e867b5f133f6bb3debcfcc75ce4536d644e62e
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