Searched refs:EthAddr (Results 1 – 1 of 1) sorted by relevance
2178 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local2215 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()2216 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()2218 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()2219 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()2251 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()2252 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()2253 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()2254 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()2260 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()[all …]