IB/mthca: don't change driver's copy of attributes if modify QP fails
authorJack Morgenstein <jackm@mellanox.co.il>
Sat, 10 Dec 2005 00:40:14 +0000 (16:40 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 10 Dec 2005 00:40:14 +0000 (16:40 -0800)
Only change the driver's copy of the QP attributes in modify QP after
checking the modify QP command completed successfully.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found