net/mlx4_en: fix a condition
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 3 Feb 2017 09:54:59 +0000 (12:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 17:01:06 +0000 (12:01 -0500)
commit73cfb2a2e49e166c569360ee60fe023b3efe3cf6
tree0894c9009e7d173a89aac7af23b24fcfc4074daf
parentf820c0ac6cc84d4f9cb22c77d99ea510bd5c382a
net/mlx4_en: fix a condition

There is a "||" vs "|" typo here so we test 0x1 instead of 0x6.

Fixes: 1f8176f7352a ("net/mlx4_en: Check the enabling pptx/pprx flags in SET_PORT wrapper flow")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c