diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-03 11:09:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-03 11:09:45 +0000 |
commit | e3cc4924002e175bb74fcaed73f4398f14de9861 (patch) | |
tree | 3ac63680673754334bb1e553e7fdaa1f337df106 /target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch | |
parent | 0f624b111bb2925797c047209d3fdcd945b76acf (diff) | |
download | master-187ad058-e3cc4924002e175bb74fcaed73f4398f14de9861.tar.gz master-187ad058-e3cc4924002e175bb74fcaed73f4398f14de9861.tar.bz2 master-187ad058-e3cc4924002e175bb74fcaed73f4398f14de9861.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-3.18/600-skb_avoid_dmabounce.patch')
0 files changed, 0 insertions, 0 deletions