summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:05:10 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:05:10 +0000
commit2e01113094b2817712e1e00a975e7837a2c2a341 (patch)
treeda24b12d079ce59a01ba7df1f02c9d8e65641898
parent031667a3efea7dee64725c0512010d6ba56d089f (diff)
downloadedk2-platforms-2e01113094b2817712e1e00a975e7837a2c2a341.tar.xz
Fix a bug that process received data twice, it will cause serial work incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8854 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
index 65f072356b..c50e532ee3 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/Serial.c
@@ -852,7 +852,6 @@ IsaSerialReceiveTransmit (
WRITE_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, Mcr.Data);
}
- IsaSerialFifoAdd (&SerialDevice->Receive, Data);
continue;
} else {