fix typo
authorFelix Fietkau <nbd@openwrt.org>
Fri, 3 Nov 2006 02:13:40 +0000 (02:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 3 Nov 2006 02:13:40 +0000 (02:13 +0000)
SVN-Revision: 5396

openwrt/target/linux/package/diag/src/diag.c

index aab8e00154315996a2dd55d237403cb8e363c4b1..cfd65a58da9df8d6c5d42c304c87adc03b1992cd 100644 (file)
@@ -464,7 +464,7 @@ static struct platform_t __init *platform_detect(void)
                        return &platforms[USR5461];
        } else { /* PMON based - old stuff */
                if (!strncmp(boardtype, "bcm94710dev", 11)) {
-                       if (!strcmp(boardtype, "42"))
+                       if (!strcmp(boardnum, "42"))
                                return &platforms[WRT54GV1];
                        if (simple_strtoul(boardnum, NULL, 9) == 2)
                                return &platforms[WAP54GV1];