bnxt_en: use eth_hw_addr_random()
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Feb 2017 14:27:28 +0000 (15:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2017 18:33:43 +0000 (13:33 -0500)
commit1faaa78f36cb2915ae89138ba5846f87ade85dcb
tree72917bb6d06535935c0815aa1ac5f5cd247addce
parentd54fef315399e0b16f8ae2b41167f34f8df12e88
bnxt_en: use eth_hw_addr_random()

Use eth_hw_addr_random() to set a random MAC address in order to make
sure bp->dev->addr_assign_type will be properly set to NET_ADDR_RANDOM.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c