diff options
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch_qp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw/cxgb3/iwch_qp.c index e066727504b6..da13a3873200 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_qp.c +++ b/drivers/infiniband/hw/cxgb3/iwch_qp.c | |||
@@ -846,6 +846,8 @@ int iwch_modify_qp(struct iwch_dev *rhp, struct iwch_qp *qhp, | |||
846 | break; | 846 | break; |
847 | case IWCH_QP_STATE_TERMINATE: | 847 | case IWCH_QP_STATE_TERMINATE: |
848 | qhp->attr.state = IWCH_QP_STATE_TERMINATE; | 848 | qhp->attr.state = IWCH_QP_STATE_TERMINATE; |
849 | if (t3b_device(qhp->rhp)) | ||
850 | cxio_set_wq_in_error(&qhp->wq); | ||
849 | if (!internal) | 851 | if (!internal) |
850 | terminate = 1; | 852 | terminate = 1; |
851 | break; | 853 | break; |