net: sxgbe: fix logical vs bitwise operation
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 1 Apr 2014 13:39:00 +0000 (16:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Apr 2014 20:25:52 +0000 (16:25 -0400)
commit4f6ed914f81e55be16bfec0b2e86873ead35a26d
tree04f4ba96b753774a7c8cac37449f2a15c4b4d9f5
parentca231f838870e9c83aaf2c0eff136150cd97b412
net: sxgbe: fix logical vs bitwise operation

Bitwise '|' was intended here instead of logical '||'.

Fixes: 1edb9ca69e8a ('net: sxgbe: add basic framework for Samsung 10Gb ethernet driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c