Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279125
b: refs/heads/master
c: 46c4674
h: refs/heads/master
i:
  279123: b29e2cb
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Dec 29, 2011
1 parent cbca403 commit 33fba3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b0460e4484f9e990caa817230204f9e3800cf955
refs/heads/master: 46c4674754cbb2bda00df652c4366086573c9b5a
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/mellanox/mlx4/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static int mlx4_dev_cap(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap)
* and perform sense_port FW command to try and set the correct
* port type from beginning
*/
if (mlx4_priv(dev)->sense.sense_allowed && dev->caps.default_sense[i]) {
if (mlx4_priv(dev)->sense.sense_allowed[i] && dev->caps.default_sense[i]) {
enum mlx4_port_type sensed_port = MLX4_PORT_TYPE_NONE;
dev->caps.possible_type[i] = MLX4_PORT_TYPE_AUTO;
mlx4_SENSE_PORT(dev, i, &sensed_port);
Expand Down

0 comments on commit 33fba3a

Please sign in to comment.