cxgbe/iw_cxgbe: wake up waiters after flushing the qp.

Obtained from:	Chelsio
This commit is contained in:
np 2014-10-22 18:55:44 +00:00
parent 0db2375e22
commit b11e3d483d

View File

@ -1359,9 +1359,9 @@ int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp,
qhp->ep = NULL;
set_state(qhp, C4IW_QP_STATE_ERROR);
free = 1;
wake_up(&qhp->wait);
BUG_ON(!ep);
flush_qp(qhp);
wake_up(&qhp->wait);
out:
mutex_unlock(&qhp->mutex);