]> asedeno.scripts.mit.edu Git - linux.git/commit
ieee802154: atusb: fix driver to work with older firmware versions
authorStefan Schmidt <stefan@osg.samsung.com>
Mon, 2 Jan 2017 15:58:13 +0000 (16:58 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Jan 2017 21:12:43 +0000 (22:12 +0100)
commit8e38b7d4d71479b23b77f01cf0e5071610b8f357
tree834d6d36df7c907c4edd68ef04962f42b98164da
parentf301606934b240fb54d8edf3618a0483e36046fc
ieee802154: atusb: fix driver to work with older firmware versions

After the addition of the frame_retries callback we could run into cases where
a ATUSB device with an older firmware version would now longer be able to bring
the interface up.

We keep this functionality disabled now if the minimum firmware version for this
feature is not available.

Fixes: 5d82288b93db3bc ("ieee802154: atusb: implement .set_frame_retries
ops callback")
Reported-by: Alexander Aring <aar@pengutronix.de>
Acked-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/atusb.c