aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/ar71xx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib/ar71xx.sh')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3f76c32854..044ef4eae5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -763,14 +763,11 @@ ar71xx_board_detect() {
;;
*"CPE510/520")
name="cpe510"
+ tplink_pharos_board_detect "$(tplink_pharos_get_model_string | tr -d '\r')"
+ ;;
+ *"CPE510 v2")
+ name="cpe510-v2"
tplink_pharos_board_detect "$(tplink_pharos_v2_get_model_string)"
- case $AR71XX_MODEL in
- 'TP-Link CPE510 v2.0')
- ;;
- *)
- tplink_pharos_board_detect "$(tplink_pharos_get_model_string | tr -d '\r')"
- ;;
- esac
;;
*"CPE830")
name="cpe830"