summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bluetooth/btsco.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/bluetooth/btsco.c b/sys/dev/bluetooth/btsco.c
index 4d6ede3a0cd..6137818580e 100644
--- a/sys/dev/bluetooth/btsco.c
+++ b/sys/dev/bluetooth/btsco.c
@@ -1,4 +1,4 @@
-/* $NetBSD: btsco.c,v 1.33 2014/08/05 07:55:31 rtr Exp $ */
+/* $NetBSD: btsco.c,v 1.34 2015/07/10 22:03:12 nat Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.33 2014/08/05 07:55:31 rtr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.34 2015/07/10 22:03:12 nat Exp $");
#include <sys/param.h>
#include <sys/audioio.h>
@@ -798,7 +798,9 @@ btsco_start_output(void *hdl, void *block, int blksize,
sc->sc_tx_intr = intr;
sc->sc_tx_intrarg = intrarg;
+ kpreempt_disable();
softint_schedule(sc->sc_intr);
+ kpreempt_enable();
return 0;
}