]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB/ipath: Clean send flags properly on QP reset
authorRobert Walsh <robert.walsh@qlogic.com>
Mon, 4 Jun 2007 16:55:48 +0000 (09:55 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
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>
drivers/infiniband/hw/ipath/ipath_qp.c

index 9e07abba8aa7743bd47bbf5dc9fb8b71f97cdd54..bfd39c933b295cb861dd78547227c1c5574d5eb2 100644 (file)
@@ -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;