ieee802154: 6lowpan: fix byteorder for frag tag
authorAlexander Aring <alex.aring@gmail.com>
Mon, 6 Oct 2014 09:00:50 +0000 (11:00 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:22 +0000 (07:56 +0200)
commitcd97a713acbc1b63feb67ba137c3b827fa4f2308
treec429ee51f6d108bf5544a6ceb9a1fc8c79ec5f3e
parent39f6eb19cf85b08b8a926294750f5e79c50a6a7b
ieee802154: 6lowpan: fix byteorder for frag tag

This patch fix byteorder issues with fragment tag of generation 802.15.4
6LoWPAN fragment header.

net/ieee802154/6lowpan_rtnl.c:278:54: warning restricted __be16 degrades to integer
net/ieee802154/6lowpan_rtnl.c:278:18: warning: incorrect type in assignment (different base types)
net/ieee802154/6lowpan_rtnl.c:278:18:    expected restricted __be16 [usertype] frag_tag
net/ieee802154/6lowpan_rtnl.c:278:18:    got unsigned short

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reported-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan_rtnl.c