[bus] Initialize child PDO node list head
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 24 Dec 2010 14:52:38 +0000 (09:52 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 24 Dec 2010 14:52:38 +0000 (09:52 -0500)
src/winvblock/bus/bus.c

index c3fc4f6..6b7e57f 100644 (file)
@@ -253,6 +253,7 @@ winvblock__lib_func void WvBusInit(WV_SP_BUS_T Bus) {
     /* Populate non-zero bus device defaults. */
     WvDevInit(&Bus->Dev);
     Bus->Thread = WvBusDefaultThread_;
+    InitializeListHead(&Bus->BusPrivate_.Nodes);
     KeInitializeSpinLock(&Bus->BusPrivate_.WorkItemsLock);
     InitializeListHead(&Bus->BusPrivate_.WorkItems);
     KeInitializeEvent(&Bus->ThreadSignal, SynchronizationEvent, FALSE);