summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2003-03-05 21:53:07 +0000
committerjason <jason@openbsd.org>2003-03-05 21:53:07 +0000
commita4d528a542d9f5775bd23a09fc299dc5adaf0cf7 (patch)
tree7406698e630d14baa2395f75ae1cc5cf4d72c527
parent- double spaces killed (diff)
downloadwireguard-openbsd-a4d528a542d9f5775bd23a09fc299dc5adaf0cf7.tar.xz
wireguard-openbsd-a4d528a542d9f5775bd23a09fc299dc5adaf0cf7.zip
make sure asi and sasi are set in the bustag. Fixes the le@lebuffer problem
reported by Tyler Hardison.
-rw-r--r--sys/dev/sbus/lebuffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/sbus/lebuffer.c b/sys/dev/sbus/lebuffer.c
index 6a8618914b5..7c37b127ddc 100644
--- a/sys/dev/sbus/lebuffer.c
+++ b/sys/dev/sbus/lebuffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lebuffer.c,v 1.3 2003/02/17 01:29:21 henric Exp $ */
+/* $OpenBSD: lebuffer.c,v 1.4 2003/03/05 21:53:07 jason Exp $ */
/* $NetBSD: lebuffer.c,v 1.12 2002/03/11 16:00:57 pk Exp $ */
/*-
@@ -151,6 +151,8 @@ lebufattach(parent, self, aux)
sbt->cookie = sc;
sbt->parent = sc->sc_bustag;
+ sbt->asi = sbt->parent->asi;
+ sbt->sasi = sbt->parent->sasi;
/* search through children */
for (node = firstchild(node); node; node = nextsibling(node)) {