summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-05-27 14:11:28 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-05-27 19:29:54 +0200
commitb5a61c306b0dddb28e3a3ab5d782c73e5f665497 (patch)
treedd460eabf4a7fccfe032c4a686a0954549d0d8f1 /drivers/net/ieee802154
parentb69644c1c72e179738dd5c7e52e99d8550189472 (diff)
downloadlinux-b5a61c306b0dddb28e3a3ab5d782c73e5f665497.tar.bz2
atusb: add support for at86rf230
This patch adds support for the at86rf230 version check which is used by the rzusb stick. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/atusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/atusb.c b/drivers/net/ieee802154/atusb.c
index 1e18774240b2..5b6bb9adf9ae 100644
--- a/drivers/net/ieee802154/atusb.c
+++ b/drivers/net/ieee802154/atusb.c
@@ -515,7 +515,7 @@ static int atusb_get_and_show_chip(struct atusb *atusb)
man_id_1, man_id_0);
goto fail;
}
- if (part_num != 3) {
+ if (part_num != 3 && part_num != 2) {
dev_err(&usb_dev->dev,
"unexpected transceiver, part 0x%02x version 0x%02x\n",
part_num, version_num);