From 844a2d8cab9b4393092bc6653c4f99434dc1927f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 22 Jun 2024 11:24:35 -0700 Subject: [PATCH] ath79: engenius: remove userspace label mac Can be handled easily in dts. Signed-off-by: Rosen Penev --- target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts | 1 + target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts | 1 + target/linux/ath79/generic/base-files/etc/board.d/02_network | 4 +--- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts index 69dd46f0c7f..1de574351d1 100644 --- a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts +++ b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts @@ -12,6 +12,7 @@ compatible = "engenius,eap300-v2", "qca,ar9341"; aliases { + label-mac-device = &wmac; led-boot = &led_power; led-failsafe = &led_power; led-running = &led_power; diff --git a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts index 0e455ab9829..229c7e8a284 100644 --- a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts +++ b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts @@ -12,6 +12,7 @@ compatible = "engenius,ens202ext-v1", "qca,ar9341"; aliases { + label-mac-device = &wmac; led-boot = &led_power; led-failsafe = &led_power; led-running = &led_power; diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 42910d436ee..bce93d42011 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -629,9 +629,7 @@ ath79_setup_macs() alfa-network,pi-wifi4|\ alfa-network,r36a|\ alfa-network,tube-2hq|\ - alfa-network,wifi-camppro-nano-duo|\ - engenius,eap300-v2|\ - engenius,ens202ext-v1) + alfa-network,wifi-camppro-nano-duo) label_mac=$(mtd_get_mac_binary art 0x1002) ;; arduino,yun)