ar71xx: simplify TP-LINK model detection
authorJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)
commit60437559fceb50a7a2fb7a3ef94c4b6721c4f0fb
tree98089adeb2d7d34ac80eef6cf69eceea57f84804
parent8c6f9002297a1dad67c7bd1c3ee83373dfebf506
ar71xx: simplify TP-LINK model detection

All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42795
target/linux/ar71xx/base-files/lib/ar71xx.sh