]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: atusb: try to read permanent extended address from device
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 5 Dec 2016 13:47:19 +0000 (14:47 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 8 Dec 2016 06:43:29 +0000 (07:43 +0100)
commit30be9284681c30694c2852d3141e5e678ffbab0b
tree07edd180bbbad7716ca1dbdc9d30aa06f15ed899
parent81c07ca6c961fcba65a2adf684a7bb5b0c243a6a
ieee802154: atusb: try to read permanent extended address from device

With version 0.3 the atusb firmware offers an interface to read a permanent
EUI64 address from the devices EEPROM. This patch checks if the firmware is
new enough and tries to read out and use the address. If this does not work
we fall back to the original randomly generated address.

Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/atusb.c