Searched refs:EthAddr (Results 1 – 1 of 1) sorted by relevance
2228 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local2265 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()2266 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()2268 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()2269 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()2301 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()2302 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()2303 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()2304 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()2310 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()[all …]