diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-09 18:05:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-11-09 18:05:52 +0000 |
commit | b148c62f9fefd824ad46506feceb9b4920508a55 (patch) | |
tree | 6c3933ae8582361589788bafe9c1688736b96e65 /sys/dev/usb | |
parent | 89e6d77f7431193536f6e8be4383159bd21cb002 (diff) |
Wrong logic in ubt_xmit_acl_start(); reported by Dmitry Komissaroff
(dxi, mail dot ru), thanks!
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/ubt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ubt.c b/sys/dev/usb/ubt.c index 6868846ec93..d9d1058ba54 100644 --- a/sys/dev/usb/ubt.c +++ b/sys/dev/usb/ubt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubt.c,v 1.9 2007/10/11 18:33:14 deraadt Exp $ */ +/* $OpenBSD: ubt.c,v 1.10 2007/11/09 18:05:51 miod Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -962,7 +962,7 @@ ubt_xmit_acl_start(struct hci_unit *unit) if (sc->sc_dying) return; - if (IF_IS_EMPTY(&unit->hci_acltxq) == NULL) + if (IF_IS_EMPTY(&unit->hci_acltxq)) return; sc->sc_refcnt++; |