6lowpan: Use netdev addr_len to determine lladdr len
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 12 Mar 2017 08:19:37 +0000 (10:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:02:36 +0000 (22:02 +0200)
commitfa09ae661fb5ab6f9826545d5128f2b7393bcf4a
tree3e97a905cfc5182279062b77b3be654db917876a
parent8a7a4b476719df1e06f8eae837b13bdf79908843
6lowpan: Use netdev addr_len to determine lladdr len

This allow technologies such as Bluetooth to use its native lladdr which
is eui48 instead of eui64 which was expected by functions like
lowpan_header_decompress and lowpan_header_compress.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/6lowpan.h
net/6lowpan/iphc.c
net/bluetooth/6lowpan.c