wl1251: re-disable PG10 chips
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 19:15:05 +0000 (15:15 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:30 +0000 (16:48 -0400)
"wl1251: add support for PG11 chips." accidentally enabled PG10 chips as
well...

Reported-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c

index ec01e9d..48b0bfd 100644 (file)
@@ -183,11 +183,11 @@ static int wl1251_chip_wakeup(struct wl1251 *wl)
                wl1251_debug(DEBUG_BOOT, "chip id 0x%x (1251 PG12)",
                             wl->chip_id);
                break;
-       case CHIP_ID_1251_PG10:
        case CHIP_ID_1251_PG11:
                wl1251_debug(DEBUG_BOOT, "chip id 0x%x (1251 PG11)",
                             wl->chip_id);
                break;
+       case CHIP_ID_1251_PG10:
        default:
                wl1251_error("unsupported chip id: 0x%x", wl->chip_id);
                ret = -ENODEV;