lldpad/lldpad-0.9.41-bugfix-state-ECP_TX_IDLE-no-longer-exists.patch
2011-04-21 09:10:21 +02:00

32 lines
928 B
Diff

From 22d4dd6b5f8612cf49da3ebe19cd0d6827be3e18 Mon Sep 17 00:00:00 2001
From: Jens Osterkamp <jens@linux.vnet.ibm.com>
Date: Thu, 3 Feb 2011 23:00:04 +0000
Subject: [PATCH 03/51] bugfix: state ECP_TX_IDLE no longer exists
The ECP_TX_IDLE state in the state enum has been removed already some time
before, but the arry which maps the states to strings for printout has not
been adapted. This leads to wrong printouts with shifted states which makes
debugging confusing ;-)
Signed-off-by: Jens Osterkamp <jens@linux.vnet.ibm.com>
Signed-off-by: Petr Sabata <psabata@redhat.com>
---
ecp/ecp.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/ecp/ecp.h b/ecp/ecp.h
index 5f84992..2c0ea0f 100644
--- a/ecp/ecp.h
+++ b/ecp/ecp.h
@@ -71,7 +71,6 @@ enum {
};
static const char *ecp_tx_states[] = {
- "ECP_TX_IDLE",
"ECP_TX_INIT_TRANSMIT",
"ECP_TX_TRANSMIT_ECPDU",
"ECP_TX_WAIT_FOR_ACK",
--
1.7.4.4