Commit 3e150cf5 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman

Staging: sbe-2t3e3: logical || vs bitwise |

Bitwise OR was clearly intended here.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 190f998b
...@@ -188,7 +188,7 @@ void dc_intr_rx(struct channel *sc) ...@@ -188,7 +188,7 @@ void dc_intr_rx(struct channel *sc)
} }
if (sc->s.LOS) { if (sc->s.LOS) {
error_mask &= ~(SBE_2T3E3_RX_DESC_DRIBBLING_BIT || error_mask &= ~(SBE_2T3E3_RX_DESC_DRIBBLING_BIT |
SBE_2T3E3_RX_DESC_MII_ERROR); SBE_2T3E3_RX_DESC_MII_ERROR);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment