updated in prepration for wrt54g v2.2/gs v1.1 support
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Jan 2005 05:28:01 +0000 (05:28 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 24 Jan 2005 05:28:01 +0000 (05:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@206 3c298f89-4303-0410-b956-a3cf2f4a3e73

obsolete-buildroot/sources/openwrt/kernel/diag.c

index e7ed233..726e197 100644 (file)
@@ -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")) {
This page took 0.027284 seconds and 4 git commands to generate.