diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-01 06:57:25 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-01 06:57:25 +0000 |
commit | 61efb259fb013773c582cbac2010529dbcb4568a (patch) | |
tree | e5f7337ecd3cb639e9febbe12385fa5b9d63f6c0 /IntelFrameworkModulePkg | |
parent | e8c42f8a7d9cb5b27971b1625600d4a2c254b6a9 (diff) | |
download | edk2-platforms-61efb259fb013773c582cbac2010529dbcb4568a.tar.xz |
Fix code bug to cause deal loop when no floppy device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c index 60df61f081..4e6f60c565 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyCtrl.c @@ -1184,7 +1184,7 @@ FddDRQReady ( // Stall for 50 us
//
Delay = Delay - 1;
- } while (Delay >= 0);
+ } while (Delay > 0);
if (Delay == 0) {
return EFI_NOT_READY;
|