ath79: fix label MAC address for Ubiquiti UniFi
authorMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 23 Mar 2022 21:06:50 +0000 (22:06 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 24 Mar 2022 08:35:55 +0000 (09:35 +0100)
The label has the MAC address of eth0, not the WLAN PHY address.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit 2a02b7049966dc77ae9519ca165f29b75e0dbf0e)

target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
target/linux/ath79/dts/ar7241_ubnt_unifi.dts
target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi

index 68f83f7a665a348cead35afab8b9a3d4ac19ae4a..6bb15f8d46ccb996d5f11c9e6213591a9f1b17cf 100644 (file)
@@ -7,6 +7,7 @@
        model = "Ubiquiti UniFi AP Outdoor+";
 
        aliases {
+               label-mac-device = &wifi;
                led-boot = &led_white;
                led-failsafe = &led_white;
                led-running = &led_blue;
index 287e8cc7db668e1c72a3cd8f7ac1ecd48206c509..c4f3907aaae57be03100a129856af3e96c1e92a6 100644 (file)
@@ -7,6 +7,7 @@
        model = "Ubiquiti UniFi";
 
        aliases {
+               label-mac-device = &eth0;
                led-boot = &led_dome_green;
                led-failsafe = &led_dome_green;
                led-running = &led_dome_green;
index 73ded0f5bd83c7a33ac4bdf4bbf25ac32df8e0bc..471309136752ede6cea68a51c05e9cbe9153cb3c 100644 (file)
@@ -6,10 +6,6 @@
 #include <dt-bindings/input/input.h>
 
 / {
-       aliases {
-               label-mac-device = &wifi;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;