cxgb4: keep carrier off before registering netdev
authorSurendra Mobiya <surendra@chelsio.com>
Tue, 30 May 2017 06:02:06 +0000 (11:32 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 18:10:11 +0000 (14:10 -0400)
commitb1a73af910e4e77c2eef9953f673d4c74ba07ad7
tree72a2eb6556620a165a6265f61a0e682f90a59994
parent9711164d03ed1aadaa266a6b15c462487cca8056
cxgb4: keep carrier off before registering netdev

Mark carrier off before registering netdev to ensure that vlan device
picks up the correct state of the carrier

Signed-off-by: Surendra Mobiya <surendra@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c