diff options
-rw-r--r-- | sys/dev/pci/hifn7751.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index cdd87e869f7..ec052e214f7 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.60 2001/05/13 15:39:27 deraadt Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.61 2001/05/13 15:53:22 jason Exp $ */ /* * Invertex AEON / Hi/fn 7751 driver @@ -1262,7 +1262,7 @@ hifn_process(crp) if (crp->crp_flags & CRYPTO_F_IMBUF) { cmd->src_m = (struct mbuf *)crp->crp_buf; cmd->dst_m = (struct mbuf *)crp->crp_buf; - } if (crp->crp_flags & CRYPTO_F_IOV) { + } else if (crp->crp_flags & CRYPTO_F_IOV) { cmd->src_io = (struct criov *)crp->crp_buf; cmd->dst_io = (struct criov *)crp->crp_buf; } else { |