mac802154: add helper for converting dev_addr
authorAlexander Aring <alex.aring@gmail.com>
Sun, 2 Nov 2014 03:18:40 +0000 (04:18 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 03:51:07 +0000 (04:51 +0100)
commitab24f50f2a3e3f6a38b4852530534aa99d86b4d1
treeff0109b22e75750a8514847d984b15831b3b0e7b
parent8f499f991c275d5251a427c424360a9c60f549e4
mac802154: add helper for converting dev_addr

This patch adds a helper for converting the dev_addr attribute in
netdevice to __le64 type. The dev_addr attribute is a char pointer
and contains the extended address in big endian byte order.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h