diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-02-28 18:59:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-28 12:55:26 -0800 |
commit | bf42d40b1254afe26015ebdb09d137fb15250fa4 (patch) | |
tree | 1b3d2d6edfb692c4b886a43c72094034575c0fbb /drivers/s390/net/qeth_l2_main.c | |
parent | 464e86dafcca14e5f7a7157fc567c58654ec80b3 (diff) | |
download | linux-stable-bf42d40b1254afe26015ebdb09d137fb15250fa4.tar.gz linux-stable-bf42d40b1254afe26015ebdb09d137fb15250fa4.tar.bz2 linux-stable-bf42d40b1254afe26015ebdb09d137fb15250fa4.zip |
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_l2_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index a42285b1daa3..f34fe983012c 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -960,7 +960,7 @@ static int qeth_l2_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"); } |