diff options
author | 2010-09-13 07:11:47 +0000 | |
---|---|---|
committer | 2010-09-13 07:11:47 +0000 | |
commit | ca4902a4bc3b9aee5a5122abb637c352c7245f02 (patch) | |
tree | bbd9bed782ff831cf0ad15daebf0cac37a23f882 | |
parent | im not convinced we only have one outstanding event to ack at a time. this (diff) | |
download | wireguard-openbsd-ca4902a4bc3b9aee5a5122abb637c352c7245f02.tar.xz wireguard-openbsd-ca4902a4bc3b9aee5a5122abb637c352c7245f02.zip |
dont reuse the event notifications ccbs id for the acknowledgement.
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 4e1da0412a5..0a16fe2e38f 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.159 2010/09/13 06:53:21 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.160 2010/09/13 07:11:47 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2396,7 +2396,7 @@ mpi_eventack(void *cookie, void *io) eaq = ccb->ccb_cmd; eaq->function = MPI_FUNCTION_EVENT_ACK; - eaq->msg_context = enp->msg_context; + eaq->msg_context = htole32(ccb->ccb_id); eaq->event = enp->event; eaq->event_context = enp->event_context; |