diff options
author | John Crispin <john@openwrt.org> | 2015-06-05 14:12:34 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-06-05 14:12:34 +0000 |
commit | 7d8de52d4dfa3c5cfde07ab446f312c43c630961 (patch) | |
tree | 9c144a62d04f851a1f67d001eb3015400f8a7a43 /target/linux/ar71xx/base-files/lib | |
parent | 0ec720e9a9e11be3d79924766992b3883da6ae1d (diff) | |
download | upstream-7d8de52d4dfa3c5cfde07ab446f312c43c630961.tar.gz upstream-7d8de52d4dfa3c5cfde07ab446f312c43c630961.tar.bz2 upstream-7d8de52d4dfa3c5cfde07ab446f312c43c630961.zip |
ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
workaround to avoid confusing users.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 45903
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index d5dd561e3b..b13be1e5f9 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -151,6 +151,10 @@ tplink_board_detect() { ;; "083000"*) model="TP-Link TL-WA830RE" + + if [ "$hwver" = 'v10' ]; then + hwver='v1' + fi ;; "084100"*) model="TP-Link TL-WR841N/ND" |