6lowpan: Set MAC address length according to LOWPAN_LLTYPE
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Sun, 12 Mar 2017 08:19:34 +0000 (10:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:36 +0000 (22:02 +0200)
commitbe054fc830ff70aced3533fffc6b851fa604d241
tree64d6d07bf211948a2956909f91c2d52094ff1586
parentc259d1413b195c57e708f324eed41668a37ba6ec
6lowpan: Set MAC address length according to LOWPAN_LLTYPE

Set MAC address length according to the 6LoWPAN link layer in use.
Bluetooth Low Energy uses 48 bit addressing while IEEE802.15.4 uses
64 bits.

Signed-off-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/core.c