openwrtv4/target/linux
Felix Fietkau 0da9da0d33 ar71xx: another fix to wndr3700_board_detect
My last bugfix (r47538) introduced a new bug in wndr3700_board_detect
(again...).

Assigning the result of ar71xx_get_mtd_offset_size_format to the model
variable before stripping of garbage using awk will cause all NUL bytes to
be removed before awk is applied, leading to model strings like
"NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to
terminate the string.

Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk
directly.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 48075
2016-01-03 11:09:45 +00:00
..
adm5120 adm5120: disable the openwrt commandline hack 2015-08-30 12:17:54 +00:00
adm8668 build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ar71xx ar71xx: another fix to wndr3700_board_detect 2016-01-03 11:09:45 +00:00
arc770 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
arm64 kernel: update 4.1 to 4.1.10 2015-10-04 11:34:39 +00:00
at91 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ath25 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
au1000 image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
bcm53xx bcm53xx: switch to simpler devm_gpiod_get in USB driver 2016-01-02 10:49:46 +00:00
brcm47xx brcm47xx: fix switch config for devices with WAN port 0 2015-12-18 15:27:16 +00:00
brcm63xx all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
brcm2708 brcm2708: update 4.1 patches 2015-12-17 09:29:22 +00:00
cns3xxx cns3xxx: add GW2393 Support 2015-12-17 09:28:42 +00:00
gemini kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
generic ledtrig-netdev: don't stop timer on events for different interfaces 2016-01-02 20:38:56 +00:00
imx6 imx6: images: ventana: change name of ubi output 2015-12-29 23:40:41 +00:00
ipq806x all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ixp4xx kernel: update kernel 4.1 to version 4.1.11 2015-10-25 17:32:01 +00:00
kirkwood all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
lantiq lantiq: Add the xbar to vr9.dts 2016-01-01 21:21:00 +00:00
malta all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
mcs814x all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
mediatek kernel: update 4.1 to 4.1.13 2015-12-02 21:52:41 +00:00
mpc85xx all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
mvebu generic/4.4: bump to -rc5 2015-12-15 11:20:38 +00:00
mxs all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
netlogic all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
octeon all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
omap omap: add kernel 4.4 2015-12-17 09:29:48 +00:00
omap24xx omap24xx: Append dtb to the zImage 2015-10-09 07:46:12 +00:00
orion all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
oxnas all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ppc40x ppc40x: upgrade to 3.18 2015-04-12 20:48:13 +00:00
ppc44x image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
pxa kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED 2015-03-06 07:56:34 +00:00
ramips ramips: clean up and refresh kernel patches 2016-01-02 14:48:27 +00:00
rb532 rb532: switch to 4.1 2015-12-23 14:43:11 +00:00
realview all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
sunxi all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
uml uml: backport another upstream patch to fix compile errors 2015-09-28 12:22:35 +00:00
x86 x86: add generic profiles to x86_64, kvm_guest and xen_domu 2015-11-08 20:39:24 +00:00
xburst kernel: update kernel 3.18 to version 3.18.23 2015-11-01 13:45:57 +00:00
Makefile