At least pretend to handle USB_GET_REPORT_ID.

This commit is contained in:
mdodd 2003-04-09 08:43:01 +00:00
parent a90ae59dd6
commit 5f0dd74a54

View File

@ -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);
}