]> git.baikalelectronics.ru Git - kernel.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)
commit1f22041fc5249adc1855cabc80e4d072e38ad47d
tree834d6d36df7c907c4edd68ef04962f42b98164da
parentcc8934491da022f67de85f0e8d5e4d0756d39726
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: ae8d453fb89d887 ("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