diff options
author | Yojiro Uo <yuo@cvs.openbsd.org> | 2010-09-22 14:38:53 +0000 |
---|---|---|
committer | Yojiro Uo <yuo@cvs.openbsd.org> | 2010-09-22 14:38:53 +0000 |
commit | 3cbcb994289eb4679539802b4da438a18351f72a (patch) | |
tree | a329b23a27c9c01ffff4ee3c42adfff5d13b8a57 /sys | |
parent | 97afe07d2323d09ba39e51a7a164327cc271f4a3 (diff) |
as dying flag didn't set in aue_detach(), set it.
ok jsg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/if_aue.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index 0d2a605e55a..8ad72d44e0f 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aue.c,v 1.77 2009/10/13 19:33:17 pirofti Exp $ */ +/* $OpenBSD: if_aue.c,v 1.78 2010/09/22 14:38:52 yuo Exp $ */ /* $NetBSD: if_aue.c,v 1.82 2003/03/05 17:37:36 shiba Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -855,6 +855,8 @@ aue_detach(struct device *self, int flags) } timeout_del(&sc->aue_stat_ch); + + sc->aue_dying = 1; /* * Remove any pending tasks. They cannot be executing because they run * in the same thread as detach. |