X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fef81766d04c20696865e3f93258a01fdad9dedc..9aaa8ffe66823392bb9d6d33dd97d22372a00f80:/package/broadcom-diag/src/diag.c diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 11b8f425d..6a95a8afb 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -266,7 +266,7 @@ static struct platform_t __initdata platforms[] = { .name = "Linksys WRT54G3GV2-VF", .buttons = { { .name = "reset", .gpio = 1 << 6 }, - { .name = "3g", .gpio = 1 << 4 }, + { .name = "3g", .gpio = 1 << 5 }, }, .leds = { { .name = "power", .gpio = 1 << 1, .polarity = NORMAL }, @@ -1101,7 +1101,7 @@ static struct platform_t __init *platform_detect(void) return &platforms[TEW411BRPP]; } - if (startswith(boardnum, "04FN52")) /* SimpleTech SimpleShare */ + if (startswith(boardnum, "04FN")) /* SimpleTech SimpleShare */ return &platforms[STI_NAS]; if (!strcmp(getvar("boardnum"), "10") && !strcmp(getvar("boardrev"), "0x13")) /* D-Link DWL-3150 */