At least pretend to handle USB_GET_REPORT_ID.
This commit is contained in:
parent
473e34ce22
commit
efddc6c820
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113284
@ -691,6 +691,10 @@ uhid_do_ioctl(struct uhid_softc *sc, u_long cmd, caddr_t addr, int flag,
|
||||
return (EIO);
|
||||
break;
|
||||
|
||||
case USB_GET_REPORT_ID:
|
||||
*(int *)addr = 0; /* XXX: we only support reportid 0? */
|
||||
break;
|
||||
|
||||
default:
|
||||
return (EINVAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user