1
0
Fork 0

s390/chsc: fix ioctl CHSC_INFO_CU command

Via CHSC_INFO_CU we ought to provide userspace with control unit
configuration data. Due to an erroneous request code we trigger the
wrong chsc command. Fix this copy and paste error.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
steinar/wifi_calib_4_9_kernel
Sebastian Ott 2016-06-21 12:33:30 +02:00 committed by Martin Schwidefsky
parent 388b74d3a9
commit 6228c2a51e
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ static int chsc_ioctl_info_cu(void __user *user_cd)
goto out_free;
}
scucd_area->request.length = 0x0010;
scucd_area->request.code = 0x0028;
scucd_area->request.code = 0x0026;
scucd_area->m = cd->m;
scucd_area->fmt1 = cd->fmt;
scucd_area->cssid = cd->cssid;