summaryrefslogtreecommitdiff
path: root/obsolete-buildroot
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-07-21 03:06:52 +0000
committerMike Baker <mbm@openwrt.org>2004-07-21 03:06:52 +0000
commit047796992b8d4f5c36d54cd426b97227507805a2 (patch)
tree3caa6f88bc6fcebff2a6e5e92cd935745ce34be7 /obsolete-buildroot
parent2d13bb1d62e0a0820523b574c20cd4144909ba9c (diff)
downloadmtk-20170518-047796992b8d4f5c36d54cd426b97227507805a2.zip
mtk-20170518-047796992b8d4f5c36d54cd426b97227507805a2.tar.gz
mtk-20170518-047796992b8d4f5c36d54cd426b97227507805a2.tar.bz2
Don't try to code properly at 4am ...
SVN-Revision: 109
Diffstat (limited to 'obsolete-buildroot')
-rw-r--r--obsolete-buildroot/sources/openwrt-diag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/obsolete-buildroot/sources/openwrt-diag.c b/obsolete-buildroot/sources/openwrt-diag.c
index 250a58e..6d93542 100644
--- a/obsolete-buildroot/sources/openwrt-diag.c
+++ b/obsolete-buildroot/sources/openwrt-diag.c
@@ -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;