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
..
2015-07-05 21:32:44 +00:00
2015-05-27 14:57:38 +00:00
2015-07-14 09:57:45 +00:00
2015-07-22 12:51:11 +00:00
2015-06-30 23:26:09 +00:00
2015-07-22 12:51:11 +00:00
2015-07-22 12:51:04 +00:00
2015-05-21 19:32:46 +00:00
2015-07-05 21:33:21 +00:00
2015-07-14 09:57:45 +00:00
2015-05-21 19:32:46 +00:00
2015-06-17 09:54:55 +00:00
2015-05-29 11:28:20 +00:00
2015-05-27 15:34:30 +00:00
2015-04-28 13:31:08 +00:00
2015-06-30 23:26:13 +00:00
2015-04-12 20:48:13 +00:00
2015-05-21 19:32:46 +00:00
2015-07-12 12:14:02 +00:00
2015-03-28 13:20:52 +00:00