Module Name:    src
Committed By:   christos
Date:           Wed Jan 16 17:18:55 UTC 2013

Modified Files:
        src/sys/dev/usb: if_axe.c

Log Message:
fix misplaced paren


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/usb/if_axe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_axe.c
diff -u src/sys/dev/usb/if_axe.c:1.62 src/sys/dev/usb/if_axe.c:1.63
--- src/sys/dev/usb/if_axe.c:1.62	Fri Jan  4 20:30:15 2013
+++ src/sys/dev/usb/if_axe.c	Wed Jan 16 12:18:55 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_axe.c,v 1.62 2013/01/05 01:30:15 christos Exp $	*/
+/*	$NetBSD: if_axe.c,v 1.63 2013/01/16 17:18:55 christos Exp $	*/
 /*	$OpenBSD: if_axe.c,v 1.96 2010/01/09 05:33:08 jsg Exp $ */
 
 /*
@@ -89,7 +89,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.62 2013/01/05 01:30:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.63 2013/01/16 17:18:55 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -930,7 +930,7 @@ axe_rxeof(usbd_xfer_handle xfer, usbd_pr
 				goto done;
 			}
 
-			rxlen = le16toh(hdr.len & AXE_RH1M_RXLEN_MASK);
+			rxlen = le16toh(hdr.len) & AXE_RH1M_RXLEN_MASK;
 			if (total_len < rxlen) {
 				pktlen = total_len;
 				total_len = 0;

Reply via email to