summaryrefslogtreecommitdiff
path: root/contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h')
-rw-r--r--contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h b/contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h
index 9eb37f4e2833..c00daa1f64d3 100644
--- a/contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h
+++ b/contrib/opencsd/decoder/include/pkt_printers/pkt_printer_t.h
@@ -102,7 +102,7 @@ template<class P> ocsd_datapath_resp_t PacketPrinter<P>::PacketDataIn( const ocs
if(!m_bRawPrint && (m_last_resp == OCSD_RESP_WAIT))
{
// expect a flush or a complete reset after a wait.
- if((op != OCSD_OP_FLUSH) || (op != OCSD_OP_RESET))
+ if((op != OCSD_OP_FLUSH) && (op != OCSD_OP_RESET))
{
m_oss <<"ID:"<< std::hex << (uint32_t)m_trcID << "\tERROR: FLUSH operation expected after wait on trace decode path\n";
itemPrintLine(m_oss.str());