aboutsummaryrefslogtreecommitdiffstats
path: root/BSDmakefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-24 09:09:27 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-24 09:09:27 +0000
commite5cbaebcfecb0b93fc3ba8a0591dbb6ab3f4d0b3 (patch)
tree341702415abd70caf0dcbe109bb69fa89e69e20a /BSDmakefile
parentf321f09da7adfa5aa8dd0c3dcee8dfc5628811d4 (diff)
downloadmaster-187ad058-e5cbaebcfecb0b93fc3ba8a0591dbb6ab3f4d0b3.tar.gz
master-187ad058-e5cbaebcfecb0b93fc3ba8a0591dbb6ab3f4d0b3.tar.bz2
master-187ad058-e5cbaebcfecb0b93fc3ba8a0591dbb6ab3f4d0b3.zip
ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2
There are a few NETGEAR devices which don't terminate the model name in the ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of trailing 0xFF garbage in this case. Fix this by matching for the first non-printable character and explicitly setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will definitely work like this, even when awk supports locales and LANG is set). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46455 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'BSDmakefile')
0 files changed, 0 insertions, 0 deletions