mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
545045db6b
commit
f6c4ee7ac0
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user