ibmvnic: Wait until reset is complete to set carrier on
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Tue, 13 Feb 2018 21:32:50 +0000 (15:32 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Feb 2018 19:31:34 +0000 (14:31 -0500)
commitcc85c02edfe48a34865ae00f7d22298a3fdd17aa
tree5fc4020fa3407c35ddcc6c893726e620f7abf34f
parente6dbe9397ea754e80f59d852a74fc289fa8b0f3a
ibmvnic: Wait until reset is complete to set carrier on

Pushes back setting the carrier on until the end of the reset
code. This resolves a bug where a watchdog timer was detecting
that a TX queue had stalled before the adapter reset was complete.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c