Don't try to code properly at 4am ...
authorMike Baker <mbm@openwrt.org>
Wed, 21 Jul 2004 03:06:52 +0000 (03:06 +0000)
committerMike Baker <mbm@openwrt.org>
Wed, 21 Jul 2004 03:06:52 +0000 (03:06 +0000)
SVN-Revision: 109

obsolete-buildroot/sources/openwrt-diag.c

index 250a58e307d5e250acd0df63f5524d3cdc87ce29..6d93542f845df05f90f73ca7ebe2bda1bf92f5db 100644 (file)
@@ -114,15 +114,14 @@ static int __init diag_init()
        printk(KERN_INFO "diag board_type: %08x\n",board_type);
 
        if (board_type & 0x400) {
-               board_type=1;
                set_diag=v1_set_diag;
                set_dmz=v1_set_dmz;
-
                if (board_type==0x41d) {
                        printk(KERN_INFO "buffalo hack.\n");
                        set_diag=ignore;
                        set_dmz=v2_set_dmz;
                }
+               board_type=1;
        } else {
                board_type=2;
                set_diag=v2_set_diag;