|
@@ -2751,7 +2751,7 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,
|
|
dev_info(&pdev->dev,
|
|
dev_info(&pdev->dev,
|
|
"PF still in reset state, assigning new address."
|
|
"PF still in reset state, assigning new address."
|
|
" Is the PF interface up?\n");
|
|
" Is the PF interface up?\n");
|
|
- random_ether_addr(hw->mac.addr);
|
|
|
|
|
|
+ dev_hw_addr_random(adapter->netdev, hw->mac.addr);
|
|
} else {
|
|
} else {
|
|
err = hw->mac.ops.read_mac_addr(hw);
|
|
err = hw->mac.ops.read_mac_addr(hw);
|
|
if (err) {
|
|
if (err) {
|