diff options
author | harti <harti@FreeBSD.org> | 2003-08-06 11:53:53 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-08-06 11:53:53 +0000 |
commit | 8466c4c3ed9e382cc6012a28793779b0a8e8c0ba (patch) | |
tree | 96b3a9f987e6516989c51bcb5a7ff36ab113a948 /sys/dev/en | |
parent | 05dee164689c2697f6969eba10d102ebd48a3dab (diff) | |
download | FreeBSD-src-8466c4c3ed9e382cc6012a28793779b0a8e8c0ba.zip FreeBSD-src-8466c4c3ed9e382cc6012a28793779b0a8e8c0ba.tar.gz |
Honor the new ATMIO_FLAG_ASYNC that requests asynchronuous open/close
operations on VCs.
Diffstat (limited to 'sys/dev/en')
-rw-r--r-- | sys/dev/en/midway.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c index 91e081c..02440c0 100644 --- a/sys/dev/en/midway.c +++ b/sys/dev/en/midway.c @@ -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; } |