summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_l3_main.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-02-28 20:59:41 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-28 23:55:26 +0300
commitbf42d40b1254afe26015ebdb09d137fb15250fa4 (patch)
tree1b3d2d6edfb692c4b886a43c72094034575c0fbb /drivers/s390/net/qeth_l3_main.c
parent464e86dafcca14e5f7a7157fc567c58654ec80b3 (diff)
downloadlinux-bf42d40b1254afe26015ebdb09d137fb15250fa4.tar.xz
s390/qeth: don't defer close_dev work during recovery
The recovery code already runs in a kthread, we don't have to defer the offlining further. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3_main.c')
-rw-r--r--drivers/s390/net/qeth_l3_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index 13d77957404c..d424a6704811 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -2459,7 +2459,7 @@ static int qeth_l3_recover(void *ptr)
dev_info(&card->gdev->dev,
"Device successfully recovered!\n");
else {
- qeth_close_dev(card);
+ ccwgroup_set_offline(card->gdev);
dev_warn(&card->gdev->dev, "The qeth device driver "
"failed to recover an error on the device\n");
}