diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index ebbfe6bbbff98ddde3f7c4fbb44babb5fd38b11c..e19d811788a548c73e137f600ed2f7c6c258a959 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c @@ -1363,7 +1363,7 @@ static int x25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) facilities.throughput > 0xDD) break; if (facilities.reverse && - (facilities.reverse | 0x81)!= 0x81) + (facilities.reverse & 0x81) != 0x81) break; x25->facilities = facilities; rc = 0;