atusb: add support for at86rf230
authorAlexander Aring <alex.aring@gmail.com>
Wed, 27 May 2015 12:11:28 +0000 (14:11 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 27 May 2015 17:29:54 +0000 (19:29 +0200)
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>
drivers/net/ieee802154/atusb.c

index 1e18774240b234b5db8e331d0b713281bc0475db..5b6bb9adf9ae4742c40ffeb09f3bef7cccf28dc8 100644 (file)
@@ -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);