]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: cleanup lowpan_header_compress
authorAlexander Aring <alex.aring@gmail.com>
Tue, 13 Oct 2015 11:42:57 +0000 (13:42 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 Oct 2015 22:49:24 +0000 (00:49 +0200)
commit3938a19b0381f3ef0f5d064263905e416a2ef415
tree97e5b62ea7604491c007b0935ee04427c22cc933
parentfd374ac65343cf14ba87a0e0ef1e1e9ad0be35aa
6lowpan: cleanup lowpan_header_compress

This patch changes the lowpan_header_compress function by removing
unused parameters like "len" and drop static value parameters of
protocol type. Instead we really check the protocol type inside inside
the skb structure. Also we drop the use of IEEE802154_ADDR_LEN which is
link-layer specific. Instead we using EUI64_ADDR_LEN which should always
the default case for now.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/6lowpan.h
net/6lowpan/iphc.c
net/bluetooth/6lowpan.c
net/ieee802154/6lowpan/tx.c