Explorar o código

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 hai 2 meses
pai
achega
d4274a10f6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 		lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base)
 		label_mac="$lan_mac"
 		label_mac="$lan_mac"
 		;;
 		;;
+	netgear,rbr40|\
 	netgear,rbr50|\
 	netgear,rbr50|\
 	netgear,srr60|\
 	netgear,srr60|\
 	pakedge,wr-1)
 	pakedge,wr-1)