cxgbe/iw_cxgbe: wake up waiters after flushing the qp.
Obtained from: Chelsio
This commit is contained in:
parent
0db2375e22
commit
b11e3d483d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user