Fix infinite loop (spotted by mifritscher)
Modified: trunk/reactos/lib/setupapi/devinst.c

Modified: trunk/reactos/lib/setupapi/devinst.c
--- trunk/reactos/lib/setupapi/devinst.c	2005-10-28 19:17:37 UTC (rev 18837)
+++ trunk/reactos/lib/setupapi/devinst.c	2005-10-29 09:49:19 UTC (rev 18838)
@@ -4044,6 +4044,7 @@
             InsertHeadList(PreviousEntry, &driverInfo->ListEntry);
             break;
         }
+        PreviousEntry = PreviousEntry->Flink;
     }
     if (PreviousEntry == DriverListHead)
     {