Honor the new ATMIO_FLAG_ASYNC that requests asynchronuous open/close
operations on VCs.
This commit is contained in:
parent
2ac9f22556
commit
580f2456b7
@ -1315,7 +1315,7 @@ en_close_vcc(struct en_softc *sc, struct atmio_closevcc *cl, int wait)
|
||||
vc->vflags |= VCC_DRAIN;
|
||||
DBG(sc, IOCTL, ("VCI %u now draining", cl->vci));
|
||||
|
||||
if (!wait) {
|
||||
if (!wait || (vc->vcc.flags & ATMIO_FLAG_ASYNC)) {
|
||||
vc->vflags |= VCC_ASYNC;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user