openwrtv3/target/linux/ar71xx/base-files/lib
John Crispin 85c7f3fb29 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
2015-07-24 09:09:27 +00:00
..
preinit ar71xx: fix board name ordering 2015-07-08 14:26:18 +00:00
upgrade Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250) 2015-07-19 17:58:27 +00:00
ar71xx.sh ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 2015-07-24 09:09:27 +00:00