IB/ipath: Fix error completion put on send CQ instead of recv CQ
authorPatrick Marchand Latifi <patrick.latifi@qlogic.com>
Thu, 31 Jan 2008 08:24:37 +0000 (00:24 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Mar 2008 21:03:54 +0000 (14:03 -0700)
commit2a049e514b890c8b70b965bbd9f4e3c963af69c9
treeec090051bcddfd780c20ad51a855df45578302d8
parent4cd5060cf7c2207c31e2e368f8a6343355362e51
IB/ipath: Fix error completion put on send CQ instead of recv CQ

A work completion entry could be placed on the wrong completion
queue when an RC QP is placed in the error state.

Signed-off-by: Patrick Marchand Latifi <patrick.latifi@qlogic.com>
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c