summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_qp.c
diff options
context:
space:
mode:
authorRobert Walsh <robert.walsh@qlogic.com>2007-06-04 18:55:48 +0200
committerRoland Dreier <rolandd@cisco.com>2007-07-10 05:12:26 +0200
commit991bda284dcbc1ed0522683320043ac41d70c82c (patch)
treed35f8804a7ccc06ad30d2b87fcce56d5b0ca79f1 /drivers/infiniband/hw/ipath/ipath_qp.c
parentIB/ipath: ipath_poll fixups and enhancements (diff)
downloadlinux-991bda284dcbc1ed0522683320043ac41d70c82c.tar.xz
linux-991bda284dcbc1ed0522683320043ac41d70c82c.zip
IB/ipath: Clean send flags properly on QP reset
Signed-off-by: Robert Walsh <robert.walsh@qlogic.com> Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_qp.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_qp.c b/drivers/infiniband/hw/ipath/ipath_qp.c
index 9e07abba8aa7..bfd39c933b29 100644
--- a/drivers/infiniband/hw/ipath/ipath_qp.c
+++ b/drivers/infiniband/hw/ipath/ipath_qp.c
@@ -336,7 +336,7 @@ static void ipath_reset_qp(struct ipath_qp *qp)
qp->qkey = 0;
qp->qp_access_flags = 0;
qp->s_busy = 0;
- qp->s_flags &= ~IPATH_S_SIGNAL_REQ_WR;
+ qp->s_flags &= IPATH_S_SIGNAL_REQ_WR;
qp->s_hdrwords = 0;
qp->s_psn = 0;
qp->r_psn = 0;