mirror of https://github.com/acidanthera/audk.git
Update HostSequenceNo for Command packet instead for Response packet.
Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15026 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
96c83393f0
commit
b8b86ec6e0
|
@ -603,7 +603,7 @@ ReadRemainingBreakPacket (
|
|||
return EFI_CRC_ERROR;
|
||||
}
|
||||
Mailbox = GetMailboxPointer();
|
||||
if (((DebugHeader->Command & DEBUG_COMMAND_RESPONSE) != 0) &&
|
||||
if (((DebugHeader->Command & DEBUG_COMMAND_RESPONSE) == 0) &&
|
||||
(DebugHeader->SequenceNo == (UINT8) (Mailbox->HostSequenceNo + 1))) {
|
||||
//
|
||||
// Only updagte HostSequenceNo for new command packet
|
||||
|
|
Loading…
Reference in New Issue