Staging: sbe-2t3e3: logical || vs bitwise |
Bitwise OR was clearly intended here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
190f998b79
commit
3e150cf51d
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user