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:22:06 +0000 (09:22 +0100)
The label has the MAC address of eth0, not the WLAN PHY address.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
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 9ccbdbd450d40e09cf9f5450048bdfae3a3d2e50..b5d7af421d09499adbf36c516b2bf2b369d05f85 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 e8d903b30580ffb7237f5cae9caf6f9035167c64..9b312b8fde2c95530ce0a1a836f1587c06a18d57 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 54f133ab190d35b492d12b23518cd99157496cd6..ac8c0cc709b46525d3263f63c90590bd5f1f7add 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>;