Просмотр исходного кода

ipq40xx: fix Netgear RBR40 wan mac

The WAN port currently has the same MAC set as all the other LAN ports.
Fix this by adding the missing case in ipq40xx_setup_macs().

Signed-off-by: Christoph Krapp <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20877
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 0f0f578d0af408ea14b001cac82a8c1996c6ada0)
Christoph Krapp 2 месяцев назад
Родитель
Сommit
d4274a10f6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      target/linux/ipq40xx/base-files/etc/board.d/02_network

+ 1 - 0
target/linux/ipq40xx/base-files/etc/board.d/02_network

@@ -244,6 +244,7 @@ ipq40xx_setup_macs()
 		lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base)
 		label_mac="$lan_mac"
 		;;
+	netgear,rbr40|\
 	netgear,rbr50|\
 	netgear,srr60|\
 	pakedge,wr-1)