Changeset 42280


Ignore:
Timestamp:
2014-08-25T08:35:58+02:00 (3 years ago)
Author:
blogic
Message:

ar71xx: use ETH_ALEN for consistency

Signed-off-by: Forest Crossman <cyrozap@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c

    r41640 r42280  
    146146        const char *config = (char *) KSEG1ADDR(ESR900_CONFIG_ADDR); 
    147147        u8 *art = (u8 *) KSEG1ADDR(ESR900_CALDATA_ADDR); 
    148         u8 lan_mac[6]; 
    149         u8 wlan0_mac[6]; 
    150         u8 wlan1_mac[6]; 
     148        u8 lan_mac[ETH_ALEN]; 
     149        u8 wlan0_mac[ETH_ALEN]; 
     150        u8 wlan1_mac[ETH_ALEN]; 
    151151 
    152152        if (ath79_nvram_parse_mac_addr(config, ESR900_CONFIG_SIZE, 
Note: See TracChangeset for help on using the changeset viewer.