ar71xx: simplify TP-LINK model detection
authorJohn Crispin <blogic@openwrt.org>
Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)
commit8ae697d7f225e92cf0aef7fa2993979089c23447
tree98089adeb2d7d34ac80eef6cf69eceea57f84804
parent230b7ba04ac27275cc6f179f2ff80584d4c6b12f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42795 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/ar71xx.sh