summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3802e1217..35eca7c81 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -97,6 +97,9 @@ tplink_board_detect() {
"094100"*)
model="TP-Link TL-WR941N/ND"
;;
+ "104100"*)
+ model="TP-Link TL-WR1041N/ND"
+ ;;
"104300"*)
model="TP-Link TL-WR1043N/ND"
;;
@@ -274,6 +277,9 @@ ar71xx_board_detect() {
*TEW-673GRU)
name="tew-673gru"
;;
+ *"TL-WR1041N v2")
+ name="tl-wr1041n-v2"
+ ;;
*TL-WR1043ND)
name="tl-wr1043nd"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index a53c73dca..a3295ed5f 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -136,6 +136,7 @@ platform_check_image() {
tl-wr841n-v1 | \
tl-wr841n-v7 | \
tl-wr941nd | \
+ tl-wr1041n-v2 | \
tl-wr1043nd | \
tl-wr2543n)
[ "$magic" != "0100" ] && {