1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

fix adm switch misdetection, which led to bogus button events that caused the system to shut down

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9555 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2007-11-16 03:11:09 +00:00
parent 5fe95d1b66
commit 173083fcbf
2 changed files with 7 additions and 7 deletions

View File

@@ -738,7 +738,7 @@ static struct platform_t __init *platform_detect(void)
return &platforms[WR850GV2V3];
}
if (!strcmp(boardnum, "44")) { /* Trendware TEW-411BRP+ */
if (!strcmp(boardnum, "44") && !strcmp(getvar("boardflags"),"0x0388")) { /* Trendware TEW-411BRP+ */
return &platforms[TEW411BRPP];
}