ar71xx: add support for Nokia WI2A-AC200i
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / diag.sh
index ade726f726d04c1d3af0264fdab1bede6fef9bd8..7fa4ff0bcc92a26aacead2fe33538986ddfba504 100644 (file)
@@ -459,6 +459,9 @@ get_status_led() {
        airgatewaypro)
                status_led="ubnt:white:status"
                ;;
+       wi2a-ac200i)
+               status_led="nokia:green:ctrl"
+               ;;
        whr-g301n|\
        whr-hp-g300n|\
        whr-hp-gn|\
@@ -529,6 +532,9 @@ set_state() {
                        local n=$(fw_printenv activeregion | cut -d = -f 2)
                        fw_setenv "image${n}trynum" 0
                        ;;
+               wi2a-ac200i)
+                       fw_setenv PKRstCnt 0
+                       ;;
                esac
                ;;
        esac