Move a flush call few lines down.
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c

Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c
--- trunk/reactos/drivers/input/i8042prt/i8042prt.c	2005-08-05 15:40:53 UTC (rev 17070)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.c	2005-08-05 15:41:20 UTC (rev 17071)
@@ -517,11 +517,11 @@
 	DevExt->MouseExists = FALSE;
 	DevExt->KeyboardExists = FALSE;
 
-	I8042Flush();
-
 	if (!I8042Write(DevExt, I8042_DATA_PORT, 0x74))
 		return STATUS_TIMEOUT;
 
+	I8042Flush();
+
 	if (!I8042Write(DevExt, I8042_CTRL_PORT, KBD_SELF_TEST))
 		return STATUS_TIMEOUT;