diff options
author | 2007-11-09 18:05:51 +0000 | |
---|---|---|
committer | 2007-11-09 18:05:51 +0000 | |
commit | 4075ecf2ce22e557885eb4ce61dcedd991b7b0f2 (patch) | |
tree | b8c7e39372f5a9370985d7301617c4ba82e29a6e | |
parent | IPL_xxx values on hp300 are logical values (although some of them happen to (diff) | |
download | wireguard-openbsd-4075ecf2ce22e557885eb4ce61dcedd991b7b0f2.tar.xz wireguard-openbsd-4075ecf2ce22e557885eb4ce61dcedd991b7b0f2.zip |
Wrong logic in ubt_xmit_acl_start(); reported by Dmitry Komissaroff
(dxi, mail dot ru), thanks!
-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++; |