diff options
author | John Crispin <blogic@openwrt.org> | 2015-06-05 14:12:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-06-05 14:12:34 +0000 |
commit | ba5dcb3068ced2b72201aa90e6b7260820782e6d (patch) | |
tree | 1ff65c41da46129fe6708d3fc6408318876292d3 /target | |
parent | 29007ace1a88b15c14b1fce47de88b69f6d2b3c7 (diff) | |
download | upstream-ba5dcb3068ced2b72201aa90e6b7260820782e6d.tar.gz upstream-ba5dcb3068ced2b72201aa90e6b7260820782e6d.tar.bz2 upstream-ba5dcb3068ced2b72201aa90e6b7260820782e6d.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45903 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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" |