0048-ar71xx-fix-AR71XX_MODEL-on-TP-Link-TL-WR703N.patch 711 B

12345678910111213141516171819202122
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Thu, 19 Nov 2015 23:29:17 +0100
  3. Subject: ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
  4. The hwid check was wrong, causing the AR71XX_MODEL value to end with a
  5. space (as $hwver was unset).
  6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  7. diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  8. index 6ba40aa..329f558 100755
  9. --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
  10. +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
  11. @@ -110,7 +110,7 @@ tplink_board_detect() {
  12. "3C0001"*)
  13. model="OOLITE"
  14. ;;
  15. - "070300"*)
  16. + "070301"*)
  17. model="TP-Link TL-WR703N"
  18. ;;
  19. "071000"*)