]> 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)
commit460e4cf2330390cc73b57bd4b20e37fa5497f2d4
tree07edd180bbbad7716ca1dbdc9d30aa06f15ed899
parent740c8f8740b96f20db516033f36999041b5a76c5
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