diff options
author | John Crispin <john@openwrt.org> | 2015-07-24 09:09:27 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-24 09:09:27 +0000 |
commit | 85c7f3fb29e80997ae186aacec081cd181bbdf4b (patch) | |
tree | f73023c4b4791676865e0d1a6e3c8ffd48534919 /target/linux/ar71xx/patches-3.18/904-phy-mdio-bitbang-prevent-rescheduling-during-command.patch | |
parent | dcae3723fdde4ef48ee1336abfbd2d57a2b8cc85 (diff) | |
download | upstream-85c7f3fb29e80997ae186aacec081cd181bbdf4b.tar.gz upstream-85c7f3fb29e80997ae186aacec081cd181bbdf4b.tar.bz2 upstream-85c7f3fb29e80997ae186aacec081cd181bbdf4b.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>
SVN-Revision: 46455
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/904-phy-mdio-bitbang-prevent-rescheduling-during-command.patch')
0 files changed, 0 insertions, 0 deletions