diff options
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index b5e676c61096..4185c3b0635b 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c | |||
@@ -780,11 +780,11 @@ static void connect_reply_upcall(struct c4iw_ep *ep, int status) | |||
780 | event.private_data_len = ep->plen; | 780 | event.private_data_len = ep->plen; |
781 | event.private_data = ep->mpa_pkt + sizeof(struct mpa_message); | 781 | event.private_data = ep->mpa_pkt + sizeof(struct mpa_message); |
782 | } | 782 | } |
783 | if (ep->com.cm_id) { | 783 | |
784 | PDBG("%s ep %p tid %u status %d\n", __func__, ep, | 784 | PDBG("%s ep %p tid %u status %d\n", __func__, ep, |
785 | ep->hwtid, status); | 785 | ep->hwtid, status); |
786 | ep->com.cm_id->event_handler(ep->com.cm_id, &event); | 786 | ep->com.cm_id->event_handler(ep->com.cm_id, &event); |
787 | } | 787 | |
788 | if (status < 0) { | 788 | if (status < 0) { |
789 | ep->com.cm_id->rem_ref(ep->com.cm_id); | 789 | ep->com.cm_id->rem_ref(ep->com.cm_id); |
790 | ep->com.cm_id = NULL; | 790 | ep->com.cm_id = NULL; |