W502V/ARV4525 wireless mac bugfix

The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+open...@tdiedrich.de>


Index: arch/mips/lantiq/xway/mach-arv.c
===================================================================
--- arch/mips/lantiq/xway/mach-arv.c    (revision 32973)
+++ arch/mips/lantiq/xway/mach-arv.c    (working copy)
@@ -662,7 +661,7 @@
        gpio_export(ARV4525PW_PHYRESET, false);
        ltq_pci_data.clock = PCI_CLOCK_INT;
        ltq_register_pci(&ltq_pci_data);
-       arv_register_ath5k(ARV4525PW_ATH_ADDR, ARV4525PW_MADWIFI_ADDR);
+       arv_register_ath5k(ARV4525PW_ATH_ADDR, ARV4525PW_MAC_ADDR);
        ltq_register_ath5k(arv_ath5k_eeprom_data, arv_athxk_eeprom_mac);
        ltq_eth_data.mii_mode = PHY_INTERFACE_MODE_MII;
        arv_register_ethernet(ARV4525PW_MAC_ADDR);


-- 
Tobias                                          PGP: http://8ef7ddba.uguu.de
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to