patch-1.3.32 linux/drivers/net/3c507.c

Next file: linux/drivers/net/at1700.c
Previous file: linux/arch/sparc/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.31/linux/drivers/net/3c507.c linux/drivers/net/3c507.c
@@ -830,7 +830,7 @@
 		ushort pkt_len = data_frame[0];
 
 		if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22
-			|| pkt_len & 0xC000 != 0xC000) {
+			|| (pkt_len & 0xC000) != 0xC000) {
 			printk("%s: Rx frame at %#x corrupted, status %04x cmd %04x"
 				   "next %04x data-buf @%04x %04x.\n", dev->name, rx_head,
 				   frame_status, rfd_cmd, next_rx_frame, data_buffer_addr,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this