Permit fcntl(F_SETFL) to work on a ugen(4) device by not returning failure

for FIOASYNC.
This commit is contained in:
Brian Feldman 2004-10-13 04:13:05 +00:00
parent 601486239c
commit d363b98e1f

View File

@ -1205,6 +1205,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd,
switch (cmd) {
case FIONBIO:
case FIOASYNC:
/* All handled in the upper FS layer. */
return (0);
case USB_SET_SHORT_XFER: