diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2003-08-06 11:53:53 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-08-06 11:53:53 +0000 |
| commit | 580f2456b7c9ee9a17e6aafab66d5c0e9d46968c (patch) | |
| tree | 96b3a9f987e6516989c51bcb5a7ff36ab113a948 /sys/dev/en | |
| parent | 2ac9f225567a7b474852f23ba0729db6d2feddad (diff) | |
Notes
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 91e081ceba7c..02440c0f1aaf 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; } |
