diff options
| author | Rosen Penev | 2024-06-22 18:43:03 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-12-21 11:20:10 +0000 |
| commit | f10ee1e20966bdb86cb61a87338f953de1d86cc6 (patch) | |
| tree | 1d4fe48ed7ac4fcb328f0793154f9a196ef32baf | |
| parent | 16c47c23dfd53778a2143e3d0891b6aeb31b0d4b (diff) | |
| download | openwrt-f10ee1e20966bdb86cb61a87338f953de1d86cc6.tar.gz | |
ath79: ap5030dn: use label-mac-device property
Userspace handling is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17311
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts | 1 | ||||
| -rw-r--r-- | target/linux/ath79/generic/base-files/etc/board.d/02_network | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts b/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts index 1c2a75f1dd..731b5a8255 100644 --- a/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts +++ b/target/linux/ath79/dts/qca9550_huawei_ap5030dn.dts @@ -15,6 +15,7 @@ }; aliases { + label-mac-device = ð0; led-boot = &led_function_red; led-failsafe = &led_function_red; led-running = &led_function_green; 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 e987d754f0..42910d436e 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 @@ -754,9 +754,6 @@ ath79_setup_macs() hak5,packet-squirrel) label_mac=$(mtd_get_mac_binary u-boot 0x1fc00) ;; - huawei,ap5030dn) - label_mac=$(mtd_get_mac_binary art 0x2005b) - ;; iodata,etg3-r) lan_mac=$(mtd_get_mac_ascii u-boot-env ethaddr) wan_mac=$(macaddr_add "$lan_mac" -1) |