ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
[15.05/openwrt.git] / target / linux / ar71xx / base-files / lib / ar71xx.sh
index c796224..b13be1e 100755 (executable)
@@ -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"
@@ -471,6 +475,12 @@ ar71xx_board_detect() {
        *"MAC1200R")
                name="mc-mac1200r"
                ;;
+       *MR12)
+               name="mr12"
+               ;;
+       *MR16)
+               name="mr16"
+               ;;
        *MR600v2)
                name="mr600v2"
                ;;
@@ -621,6 +631,9 @@ ar71xx_board_detect() {
        *"Rocket M")
                name="rocket-m"
                ;;
+       *"Rocket M XW")
+               name="rocket-m-xw"
+               ;;
        *RouterStation)
                name="routerstation"
                ;;