diff options
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r-- | sys/dev/hatm/if_hatm.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c index a411d06..80c8ff0 100644 --- a/sys/dev/hatm/if_hatm.c +++ b/sys/dev/hatm/if_hatm.c @@ -2312,13 +2312,8 @@ hatm_stop(struct hatm_softc *sc) * Give any waiters on closing a VCC a chance. They will stop * to wait if they see that IFF_RUNNING disappeared. */ - while (!(cv_waitq_empty(&sc->vcc_cv))) { - cv_broadcast(&sc->vcc_cv); - DELAY(100); - } - while (!(cv_waitq_empty(&sc->cv_rcclose))) { - cv_broadcast(&sc->cv_rcclose); - } + cv_broadcast(&sc->vcc_cv); + cv_broadcast(&sc->cv_rcclose); /* * Now free all resources. |