Module Name: src
Committed By: skrll
Date: Mon Aug 4 06:17:05 UTC 2014
Modified Files:
src/sys/dev/usb: ehci.c
Log Message:
Fix duplicate assignment to NULL of sqtdstart in ehci_device_isoc_start
and initialise sqtdend is NULL instead.
>From OpenBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.225 -r1.226 src/sys/dev/usb/ehci.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/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.225 src/sys/dev/usb/ehci.c:1.226
--- src/sys/dev/usb/ehci.c:1.225 Mon Feb 17 07:34:21 2014
+++ src/sys/dev/usb/ehci.c Mon Aug 4 06:17:04 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.225 2014/02/17 07:34:21 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.226 2014/08/04 06:17:04 skrll Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.225 2014/02/17 07:34:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.226 2014/08/04 06:17:04 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -4195,7 +4195,7 @@ ehci_device_isoc_start(usbd_xfer_handle
exfer->itdstart = start;
exfer->itdend = stop;
exfer->sqtdstart = NULL;
- exfer->sqtdstart = NULL;
+ exfer->sqtdend = NULL;
ehci_add_intr_list(sc, exfer);
xfer->status = USBD_IN_PROGRESS;