Permit fcntl(F_SETFL) to work on a ugen(4) device by not returning failure
for FIOASYNC.
This commit is contained in:
parent
601486239c
commit
d363b98e1f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user