Searched refs:mac_addr_temp (Results 1 – 1 of 1) sorted by relevance
3930 u8 mac_addr_temp[ETH_ALEN]; in hns3_init_mac_addr() local3934 h->ae_algo->ops->get_mac_addr(h, mac_addr_temp); in hns3_init_mac_addr()3937 if (!is_valid_ether_addr(mac_addr_temp)) { in hns3_init_mac_addr()3941 } else if (!ether_addr_equal(netdev->dev_addr, mac_addr_temp)) { in hns3_init_mac_addr()3942 ether_addr_copy(netdev->dev_addr, mac_addr_temp); in hns3_init_mac_addr()3943 ether_addr_copy(netdev->perm_addr, mac_addr_temp); in hns3_init_mac_addr()