mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com CC: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36723 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -162,8 +162,8 @@ static void __init om2p_lc_setup(void)
|
||||
ARRAY_SIZE(om2p_gpio_keys),
|
||||
om2p_gpio_keys);
|
||||
|
||||
ath79_init_mac(ath79_eth1_data.mac_addr, mac1, 0);
|
||||
ath79_init_mac(ath79_eth0_data.mac_addr, mac2, 0);
|
||||
ath79_init_mac(ath79_eth0_data.mac_addr, mac1, 0);
|
||||
ath79_init_mac(ath79_eth1_data.mac_addr, mac2, 0);
|
||||
|
||||
ath79_register_mdio(0, 0x0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user