diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 1 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index c4e2004bd0e8..c12967133114 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
@@ -1173,6 +1173,7 @@ static void __exit qeth_l2_exit(void) | |||
1173 | static void qeth_l2_shutdown(struct ccwgroup_device *gdev) | 1173 | static void qeth_l2_shutdown(struct ccwgroup_device *gdev) |
1174 | { | 1174 | { |
1175 | struct qeth_card *card = dev_get_drvdata(&gdev->dev); | 1175 | struct qeth_card *card = dev_get_drvdata(&gdev->dev); |
1176 | qeth_set_allowed_threads(card, 0, 1); | ||
1176 | if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) | 1177 | if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) |
1177 | qeth_hw_trap(card, QETH_DIAGS_TRAP_DISARM); | 1178 | qeth_hw_trap(card, QETH_DIAGS_TRAP_DISARM); |
1178 | qeth_qdio_clear_card(card, 0); | 1179 | qeth_qdio_clear_card(card, 0); |
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 9754df93ec83..8eff8f709866 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -3598,6 +3598,7 @@ static int qeth_l3_recover(void *ptr) | |||
3598 | static void qeth_l3_shutdown(struct ccwgroup_device *gdev) | 3598 | static void qeth_l3_shutdown(struct ccwgroup_device *gdev) |
3599 | { | 3599 | { |
3600 | struct qeth_card *card = dev_get_drvdata(&gdev->dev); | 3600 | struct qeth_card *card = dev_get_drvdata(&gdev->dev); |
3601 | qeth_set_allowed_threads(card, 0, 1); | ||
3601 | if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) | 3602 | if ((gdev->state == CCWGROUP_ONLINE) && card->info.hwtrap) |
3602 | qeth_hw_trap(card, QETH_DIAGS_TRAP_DISARM); | 3603 | qeth_hw_trap(card, QETH_DIAGS_TRAP_DISARM); |
3603 | qeth_qdio_clear_card(card, 0); | 3604 | qeth_qdio_clear_card(card, 0); |