ieee802154: fix byteorder for short address and panid
authorAlexander Aring <alex.aring@gmail.com>
Mon, 17 Nov 2014 07:20:55 +0000 (08:20 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 17 Nov 2014 08:49:17 +0000 (09:49 +0100)
commitee7b9053bd69ff43cbc87a9bb987f4d92dc2c29f
treeeef6377b4bc5f6c76fffa547ee4d0872c58e8f3a
parentcb41c8dd01d74d091618f72e28f0282f064a9f0a
ieee802154: fix byteorder for short address and panid

This patch changes the byteorder handling for short and panid handling.
We now except to get little endian in nl802154 for these attributes.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/cfg802154.h
net/ieee802154/nl802154.c
net/ieee802154/rdev-ops.h
net/mac802154/cfg.c