ath79: ubnt-xm: disable WAN on (rocket|bullet)-m
authorLech Perczak <lech.perczak@gmail.com>
Tue, 21 Aug 2018 21:06:59 +0000 (23:06 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 23 Aug 2018 20:42:15 +0000 (22:42 +0200)
ubnt,bullet-m and ubnt,rocket-m targets support only single Ethernet
port, therefore disable creation of WAN zone and interfaces for them,
as their intended purpose is a wireless bridge. This aligns the
configuration with one found in ar71xx target.

ubnt,nano-m target is kept as is, being a two-port device.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/ath79/base-files/etc/board.d/02_network

index 14ecea56765012e6fce0138c6418d16daca6f40a..1a83d56cc75dfd0c0444142c82b7a27e10a28627 100755 (executable)
@@ -19,6 +19,8 @@ ath79_setup_interfaces()
        tplink,tl-mr3020-v1|\
        tplink,tl-mr3040-v2|\
        tplink,tl-wr703n|\
+       ubnt,bullet-m|\
+       ubnt,rocket-m|\
        ubnt,unifiac-lite|\
        ubnt,unifiac-mesh|\
        ubnt,unifi)