Skip to content
Commit 192daa18 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Fix modify QP error path



If the call to mthca_MODIFY_QP() failed, then mthca_modify_qp() would
still do some things it shouldn't, such as store away attributes for
special QPs.  Fix this, and simplify the code, by simply jumping to
the exit path if mthca_MODIFY_QP() fails.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 4e37b956
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment