fix adm switch misdetection, which led to bogus button events that caused the system to shut down
SVN-Revision: 9555
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user