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 ec01e9dadb0d9ac45ab91c8035a1f5d05439c8f9..48b0bfd6c55a6e9ad811d7b37e8a1db81de9d261 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;