openwrt/target/linux/ar71xx
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
..
base-files ar71xx: another fix to wndr3700_board_detect 2016-01-03 11:09:45 +00:00
files V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
generic V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
image V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
mikrotik ar71xx: Kernel board definition for PowerCloud CR5000 2015-12-19 11:27:32 +00:00
nand ar71xx: Kernel board definition for PowerCloud CR5000 2015-12-19 11:27:32 +00:00
patches-4.1 ar71xx: refresh patches 2015-12-23 14:45:05 +00:00
Makefile ar71xx: switch to linux 4.1 2015-07-19 17:59:20 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
config-4.1 V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00