aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/igbvf/netdev.c2
-rw-r--r--drivers/net/ixgbevf/ixgbevf_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c
index 5e2b2a8c56c6..048595bc79ad 100644
--- a/drivers/net/igbvf/netdev.c
+++ b/drivers/net/igbvf/netdev.c
@@ -2751,7 +2751,7 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,
2751 dev_info(&pdev->dev, 2751 dev_info(&pdev->dev,
2752 "PF still in reset state, assigning new address." 2752 "PF still in reset state, assigning new address."
2753 " Is the PF interface up?\n"); 2753 " Is the PF interface up?\n");
2754 random_ether_addr(hw->mac.addr); 2754 dev_hw_addr_random(adapter->netdev, hw->mac.addr);
2755 } else { 2755 } else {
2756 err = hw->mac.ops.read_mac_addr(hw); 2756 err = hw->mac.ops.read_mac_addr(hw);
2757 if (err) { 2757 if (err) {
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c
index af491352b5e0..4867440ecfa8 100644
--- a/drivers/net/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ixgbevf/ixgbevf_main.c
@@ -2229,7 +2229,7 @@ static int __devinit ixgbevf_sw_init(struct ixgbevf_adapter *adapter)
2229 if (err) { 2229 if (err) {
2230 dev_info(&pdev->dev, 2230 dev_info(&pdev->dev,
2231 "PF still in reset state, assigning new address\n"); 2231 "PF still in reset state, assigning new address\n");
2232 random_ether_addr(hw->mac.addr); 2232 dev_hw_addr_random(adapter->netdev, hw->mac.addr);
2233 } else { 2233 } else {
2234 err = hw->mac.ops.init_hw(hw); 2234 err = hw->mac.ops.init_hw(hw);
2235 if (err) { 2235 if (err) {