OSDN Git Service

ieee802154: atusb: make sure we set a randaom extended address if fetching fails
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 15 Dec 2016 17:40:15 +0000 (18:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Jan 2017 21:12:42 +0000 (22:12 +0100)
commit2fd2b550a5ed13b1d6640ff77630fc369636a544
tree28ebdc1516ba90c731ef63fc01620b0a7c205803
parent05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655
ieee802154: atusb: make sure we set a randaom extended address if fetching fails

In the unlikely case were the firmware is new enough but the actual USB command
still fails make sure we set a random address and return.

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