projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing control file from prev commit
[openwrt.git]
/
openwrt
/
target
/
linux
/
package
/
diag
/
diag_led.c
diff --git
a/openwrt/target/linux/package/diag/diag_led.c
b/openwrt/target/linux/package/diag/diag_led.c
index
cc2bc8a
..
8d4acd5
100644
(file)
--- a/
openwrt/target/linux/package/diag/diag_led.c
+++ b/
openwrt/target/linux/package/diag/diag_led.c
@@
-170,8
+170,8
@@
static int __init diag_init()
set_diag=ignore;
set_dmz=ignore;
set_diag=ignore;
set_dmz=ignore;
- buf=nvram_get("
boardrev")
;
- if (((board_type & 0xf00) == 0x400) &&
strcmp(buf,"0x10"
)) {
+ buf=nvram_get("
pmon_ver") ?: ""
;
+ if (((board_type & 0xf00) == 0x400) &&
(strncmp(buf, "CFE", 3) != 0
)) {
buf=nvram_get("boardtype")?:"";
if (!strcmp(buf,"bcm94710dev")) {
buf=nvram_get("boardnum")?:"";
buf=nvram_get("boardtype")?:"";
if (!strcmp(buf,"bcm94710dev")) {
buf=nvram_get("boardnum")?:"";
This page took
0.025953 seconds
and
4
git commands to generate.