From: Matthias Schiffer Date: Sat, 16 Aug 2014 17:52:34 +0200 Subject: ar71xx: correctly detect hardware revision on TP-Link Archer C5 and C7 diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a067604..8654d6a 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -211,6 +211,13 @@ tplink_board_detect() { "453000"*) model="MERCURY MW4530R" ;; + "c50000"*) + model="TP-Link Archer C5" + ;; + "750000"*|\ + "c70000"*) + model="TP-Link Archer C7" + ;; *) hwver="" ;; @@ -736,7 +743,7 @@ ar71xx_board_detect() { esac case "$machine" in - *TL-WR* | *TL-WA* | *TL-MR* | *TL-WD*) + *TL-WR* | *TL-WA* | *TL-MR* | *TL-WD* | *Archer*) tplink_board_detect "$machine" ;; esac