summaryrefslogtreecommitdiff
path: root/drivers/s390/net/smsgiucv.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-03 12:08:52 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-04-16 10:10:17 +0300
commit760dd0eeaec1689430243ead14e5a429613d8c52 (patch)
tree482fea0398f0fe947db9526df99f8eae3c5e3d04 /drivers/s390/net/smsgiucv.c
parentdccccd332d028f57358a8b64ca88e691fc8be5b7 (diff)
downloadlinux-760dd0eeaec1689430243ead14e5a429613d8c52.tar.xz
s390/smsgiucv: disable SMSG on module unload
The module exit function of the smsgiucv module uses the incorrect CP command to disable SMSG messages. The correct command is "SET SMSG OFF". Use it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/smsgiucv.c')
-rw-r--r--drivers/s390/net/smsgiucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/smsgiucv.c b/drivers/s390/net/smsgiucv.c
index 3b0c8b8a7634..066b5c3aaae6 100644
--- a/drivers/s390/net/smsgiucv.c
+++ b/drivers/s390/net/smsgiucv.c
@@ -176,7 +176,7 @@ static struct device_driver smsg_driver = {
static void __exit smsg_exit(void)
{
- cpcmd("SET SMSG IUCV", NULL, 0, NULL);
+ cpcmd("SET SMSG OFF", NULL, 0, NULL);
device_unregister(smsg_dev);
iucv_unregister(&smsg_handler, 1);
driver_unregister(&smsg_driver);