diff options
-rw-r--r-- | obsolete-buildroot/sources/openwrt/kernel/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/obsolete-buildroot/sources/openwrt/kernel/diag.c b/obsolete-buildroot/sources/openwrt/kernel/diag.c index e7ed233a1..726e1976e 100644 --- a/obsolete-buildroot/sources/openwrt/kernel/diag.c +++ b/obsolete-buildroot/sources/openwrt/kernel/diag.c @@ -148,7 +148,7 @@ static int __init diag_init() set_diag=ignore; set_dmz=ignore; - if (board_type & 0x400) { + if ((board_type & 0xf00) == 0x400) { board_type=1; buf=nvram_get("boardtype")?:""; if (!strcmp(buf,"bcm94710dev")) { |