summaryrefslogtreecommitdiff
path: root/openwrt/target/utils
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-12-15 01:11:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-12-15 01:11:38 +0000
commit5d608ab146ff4c825212facfcd3cbea194e46163 (patch)
tree0ea104bd8d196c519509724eed4e15ad75f96b47 /openwrt/target/utils
parent27b694c330b2f14e29a87ad0683db17827f60f8e (diff)
downloadmtk-20170518-5d608ab146ff4c825212facfcd3cbea194e46163.zip
mtk-20170518-5d608ab146ff4c825212facfcd3cbea194e46163.tar.gz
mtk-20170518-5d608ab146ff4c825212facfcd3cbea194e46163.tar.bz2
update gs v4 pattern so that the latest linksys firmware accepts it
SVN-Revision: 2678
Diffstat (limited to 'openwrt/target/utils')
-rw-r--r--openwrt/target/utils/src/addpattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/utils/src/addpattern.c b/openwrt/target/utils/src/addpattern.c
index 67f9da2..9962a67 100644
--- a/openwrt/target/utils/src/addpattern.c
+++ b/openwrt/target/utils/src/addpattern.c
@@ -138,7 +138,7 @@ int main(int argc, char **argv)
break;
case '4':
/* V4 firmware sets the flags to 0x1f */
- hdr->hw_ver = 1;
+ hdr->hw_ver = 0;
hdr->flags = 0x1f;
break;