Skip to content

Commit

Permalink
Staging: sbe-2t3e3: logical || vs bitwise |
Browse files Browse the repository at this point in the history
Bitwise OR was clearly intended here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 190f998 commit 3e150cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sbe-2t3e3/intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3e150cf

Please sign in to comment.