Fixed MSTP data expecting reply compare, as this port uses raw buffer. Thank you Will.

This commit is contained in:
skarg
2015-02-03 22:39:08 +00:00
parent 3865a13993
commit 1814ae1d89
+1 -1
View File
@@ -1151,7 +1151,7 @@ bool MSTP_Master_Node_FSM(
matched =
mstp_compare_data_expecting_reply(&mstp_port->InputBuffer
[0], mstp_port->DataLength, mstp_port->SourceAddress,
&mstp_port->TxBuffer[0], mstp_port->TxLength,
&mstp_port->TxBuffer[8], mstp_port->TxLength,
mstp_port->TxDestination);
}
if (matched && mstp_port->TxReady) {