From f4b37febd811042f4d5a7b30dfa45501699d98de Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 15 Dec 2005 01:11:36 +0000 Subject: [PATCH] update gs v4 pattern so that the latest linksys firmware accepts it SVN-Revision: 2677 --- openwrt/target/linux/image/brcm/Makefile | 2 +- openwrt/target/utils/src/addpattern.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/target/linux/image/brcm/Makefile b/openwrt/target/linux/image/brcm/Makefile index 6420afb580..0408bb5cc4 100644 --- a/openwrt/target/linux/image/brcm/Makefile +++ b/openwrt/target/linux/image/brcm/Makefile @@ -54,7 +54,7 @@ $(BIN_DIR)/openwrt-wrt54g-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$ $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g $(BIN_DIR)/openwrt-wrt54gs_v4-$(FSNAME).bin: $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(FS).trx - $(STAGING_DIR)/bin/addpattern -4 -p W54s -v v1.05.0 -i $< -o $@ -g + $(STAGING_DIR)/bin/addpattern -4 -p W54s -v v1.05.2 -i $< -o $@ -g install: $(BIN_DIR)/openwrt-wrt54g-$(FSNAME).bin $(BIN_DIR)/openwrt-wrt54gs_v4-$(FSNAME).bin $(BIN_DIR)/openwrt-wrt54g3g-$(FSNAME).bin endif diff --git a/openwrt/target/utils/src/addpattern.c b/openwrt/target/utils/src/addpattern.c index 44e6d8d82d..ee5e63587c 100644 --- a/openwrt/target/utils/src/addpattern.c +++ b/openwrt/target/utils/src/addpattern.c @@ -132,7 +132,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; -- 2.30.2