drivers: net: xgene: Fix wrong logical operation
authorQuan Nguyen <qnguyen@apm.com>
Wed, 15 Mar 2017 20:27:17 +0000 (13:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Mar 2017 04:52:52 +0000 (21:52 -0700)
commit11623fce0f9afef30c45e3f2120b063de3809a8f
tree298412b85755c030ec6f1b00e96652636c4d3cf2
parente026e700d940a1ea3d3bc84d92ac668b1f015462
drivers: net: xgene: Fix wrong logical operation

This patch fixes the wrong logical OR operation by changing it to
bit-wise OR operation.

Fixes: 3bb502f83080 ("drivers: net: xgene: fix statistics counters race condition")
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c