Staging: sbe-2t3e3: logical || vs bitwise |
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Jan 2012 07:31:52 +0000 (10:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:51:17 +0000 (09:51 -0800)
Bitwise OR was clearly intended here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sbe-2t3e3/intr.c

index 7ad1a8382037046775e3277fe17d894e128beb9b..1336aab11bdd352b699a316865266da91345611d 100644 (file)
@@ -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);
                        }