From d7adaceda33b0b94962477e4c06c04d1ea4e82f8 Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Fri, 20 Oct 2017 17:35:48 +0200
Subject: [PATCH] ar71xx: fix network setup for UniFi
The Ubiquiti UniFi APs just have eth0. Until now, the setup script fell
through to the default case and configured the (not present) eth1 as
WAN with DHCP.
Signed-off-by: Paul Wassi
---
target/linux/ar71xx/base-files/etc/board.d/02_network | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index 5aef2058c2..a5b8a95cc8 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -129,6 +129,7 @@ ar71xx_setup_interfaces()
tl-wr802n-v2|\
tl-wr902ac-v1|\
tube2h|\
+ unifi|\
unifiac-lite|\
wi2a-ac200i|\
wndap360|\
--
2.30.2