diff options
author | 2008-01-26 08:57:31 +0000 | |
---|---|---|
committer | 2008-01-26 08:57:31 +0000 | |
commit | 4d270e50ed4e5da61a6b4a86c03cf9dfcc4adf7f (patch) | |
tree | 0fe52d7a0036cde770510c1247a733be2904f21a /sys | |
parent | remove a bad space; from he@netbsd (diff) | |
download | wireguard-openbsd-4d270e50ed4e5da61a6b4a86c03cf9dfcc4adf7f.tar.xz wireguard-openbsd-4d270e50ed4e5da61a6b4a86c03cf9dfcc4adf7f.zip |
Set the return value instead of returning right away so that the DMA
memory is actually synched.
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 5e42a129bdd..c3a68ca949a 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.77 2008/01/26 07:13:59 dlg Exp $ */ +/* $OpenBSD: mfi.c,v 1.78 2008/01/26 08:57:31 brad Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -735,7 +735,7 @@ mfi_poll(struct mfi_ccb *ccb) printf("%s: timeout on ccb %d\n", DEVNAME(sc), hdr->mfh_context); ccb->ccb_flags |= MFI_CCB_F_ERR; - return (1); + rv = 1; } if (ccb->ccb_direction != MFI_DATA_NONE) { |