diff options
author | John Crispin <john@openwrt.org> | 2014-08-25 06:35:58 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-08-25 06:35:58 +0000 |
commit | 67cf439237f631a21c5cc8bbdafb4d1d370f28d4 (patch) | |
tree | 5a8f787fd4963fcf97d78f01965341b1268147ac /target | |
parent | 79c04e18972ebe3acf2633852de33de51f9200bc (diff) | |
download | upstream-67cf439237f631a21c5cc8bbdafb4d1d370f28d4.tar.gz upstream-67cf439237f631a21c5cc8bbdafb4d1d370f28d4.tar.bz2 upstream-67cf439237f631a21c5cc8bbdafb4d1d370f28d4.zip |
ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42280
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c index ca36e36114..aa2e7f7f4e 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c @@ -145,9 +145,9 @@ static void __init esr900_setup(void) { const char *config = (char *) KSEG1ADDR(ESR900_CONFIG_ADDR); u8 *art = (u8 *) KSEG1ADDR(ESR900_CALDATA_ADDR); - u8 lan_mac[6]; - u8 wlan0_mac[6]; - u8 wlan1_mac[6]; + u8 lan_mac[ETH_ALEN]; + u8 wlan0_mac[ETH_ALEN]; + u8 wlan1_mac[ETH_ALEN]; if (ath79_nvram_parse_mac_addr(config, ESR900_CONFIG_SIZE, "ethaddr=", lan_mac) == 0) { |