projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix adm switch misdetection, which led to bogus button events that caused the system...
[openwrt/staging/mkresin.git]
/
package
/
broadcom-diag
/
src
/
diag.c
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index c7b3ead3633a690eb618bc7a1737386de7c2eea2..94ab384d306bda3823c3a0766e4c23bf5e205f6a 100644
(file)
--- a/
package/broadcom-diag/src/diag.c
+++ b/
package/broadcom-diag/src/diag.c
@@
-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];
}