net/mlx4_core: Fixing error flow in case of QUERY_FW failure
authorAviad Yehezkel <aviadye@mellanox.com>
Wed, 5 Sep 2012 22:50:51 +0000 (22:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Sep 2012 16:55:59 +0000 (12:55 -0400)
commitbef772eb06051f49e84c3168f189b65074f19c3d
tree0144a999e3046efd0975442dd8fa99fdee3610ec
parent60d31c1475f20b6966f7efbd646b1123d0fba5b1
net/mlx4_core: Fixing error flow in case of QUERY_FW failure

The order of operations was wrong on the teardown flow.

Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c