From: Dan Carpenter Date: Tue, 17 Jan 2012 07:31:52 +0000 (+0300) Subject: Staging: sbe-2t3e3: logical || vs bitwise | X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e150cf51d9242ae4ef9c872cdf6766ee5115c44;p=openwrt%2Fstaging%2Fblogic.git Staging: sbe-2t3e3: logical || vs bitwise | Bitwise OR was clearly intended here. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sbe-2t3e3/intr.c b/drivers/staging/sbe-2t3e3/intr.c index 7ad1a8382037..1336aab11bdd 100644 --- a/drivers/staging/sbe-2t3e3/intr.c +++ b/drivers/staging/sbe-2t3e3/intr.c @@ -188,7 +188,7 @@ void dc_intr_rx(struct channel *sc) } 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); }