From b148c62f9fefd824ad46506feceb9b4920508a55 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 9 Nov 2007 18:05:52 +0000 Subject: Wrong logic in ubt_xmit_acl_start(); reported by Dmitry Komissaroff (dxi, mail dot ru), thanks! --- sys/dev/usb/ubt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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++; -- cgit v1.2.3