]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix code bug to cause deal loop when no floppy device.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 1 Jul 2009 06:57:25 +0000 (06:57 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 1 Jul 2009 06:57:25 +0000 (06:57 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c

index 60df61f08197e5dd7c5947407cca190c51001d13..4e6f60c56564f748f2dff0c497a601c71ba72da6 100644 (file)
@@ -1184,7 +1184,7 @@ FddDRQReady (
     // Stall for 50 us\r
     //\r
     Delay = Delay - 1;\r
-  } while (Delay >= 0);\r
+  } while (Delay > 0);\r
 \r
   if (Delay == 0) {\r
     return EFI_NOT_READY;\r