aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-03 11:09:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-03 11:09:45 +0000
commit0da9da0d3348ffbe0f6f90da6ea4dd7d4959bacf (patch)
tree090448ccb7fd1be82090a5bb86af2b770b8916f7 /target/linux/malta
parentb836a7c29d2717785524f94a7a1df3ae7bed8423 (diff)
downloadupstream-0da9da0d3348ffbe0f6f90da6ea4dd7d4959bacf.tar.gz
upstream-0da9da0d3348ffbe0f6f90da6ea4dd7d4959bacf.tar.bz2
upstream-0da9da0d3348ffbe0f6f90da6ea4dd7d4959bacf.zip
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
Diffstat (limited to 'target/linux/malta')
0 files changed, 0 insertions, 0 deletions