Searched refs:mac_addr_temp (Results 1 – 1 of 1) sorted by relevance
4931 u8 mac_addr_temp[ETH_ALEN]; in hns3_init_mac_addr() local4935 h->ae_algo->ops->get_mac_addr(h, mac_addr_temp); in hns3_init_mac_addr()4938 if (!is_valid_ether_addr(mac_addr_temp)) { in hns3_init_mac_addr()4942 } else if (!ether_addr_equal(netdev->dev_addr, mac_addr_temp)) { in hns3_init_mac_addr()4943 ether_addr_copy(netdev->dev_addr, mac_addr_temp); in hns3_init_mac_addr()4944 ether_addr_copy(netdev->perm_addr, mac_addr_temp); in hns3_init_mac_addr()