summaryrefslogtreecommitdiff
path: root/openwrt/target/utils/src/addpattern.c
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 01:11:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-15 01:11:38 +0000
commitb9c7d0b8df1c4c644ae30c7100fab151ea4130e7 (patch)
tree1f3e9e37dd4c0aa836391cd01f159962336d6ad1 /openwrt/target/utils/src/addpattern.c
parentf8b6cc52d451170582282d2e4fb37288c95f9484 (diff)
update gs v4 pattern so that the latest linksys firmware accepts it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/utils/src/addpattern.c')
-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 67f9da285e..9962a67920 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;