net/mlx5e: Return error in case mlx5e_set_features() fails
authorAchiad Shochat <achiad@mellanox.com>
Tue, 3 Nov 2015 06:07:22 +0000 (08:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 15:41:50 +0000 (10:41 -0500)
commitfe9f4fe58d17e09b210061ed089dba6e81564652
tree87aeed4b767f3dc1844031d9901de39bc5da1629
parent3435ab59d3febe0c00af2a4d40a6df401effe3de
net/mlx5e: Return error in case mlx5e_set_features() fails

In case mlx5e_set_features() fails, return the failure status rather
than 0.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c