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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:51:55 +0000 (07:51 +0200)
commit4431066edd13f20964626689ccabd7ac315444a7
tree8ba885aca23bf3a4fee14b03799bf30e7ff15bf3
parentddca5c776fff3dac6f3b5ef94dbb25133fd4799b
ibmvnic: Wait until reset is complete to set carrier on

[ Upstream commit cc85c02edfe48a34865ae00f7d22298a3fdd17aa ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/ibm/ibmvnic.c