ar71xx: Add support to TP-Link EAP120
[openwrt/staging/yousong.git] / target / linux / ar71xx / base-files / lib / ar71xx.sh
index 940c1c95de45456cf78d83c9f4baa4a9417eeeff..1492b5077449db7a7038d1467f674e02308a59b9 100755 (executable)
@@ -361,6 +361,9 @@ tplink_pharos_board_detect() {
        'CPE520(TP-LINK|UN|N300-5)')
                model='TP-Link CPE520'
                ;;
+       'EAP120(TP-LINK|UN|N300-2)')
+               model='TP-Link EAP120'
+               ;;
        esac
 
        [ -n "$model" ] && AR71XX_MODEL="$model v$2"
@@ -563,6 +566,10 @@ ar71xx_board_detect() {
        *"Domino Pi")
                name="gl-domino"
                ;;
+       *"EAP120")
+               name="eap120"
+               tplink_pharos_board_detect
+               ;;
        *"EAP300 v2")
                name="eap300v2"
                ;;