laforge submitted this change.
sbcap: Drop unused events
Those events doesn't exist in SBc-AP.
Change-Id: Ie4843ed5debbd4282df487ada9596b4d75f4b46c
---
M include/osmocom/cbc/sbcap_link_fsm.h
M src/sbcap_link_fsm.c
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/include/osmocom/cbc/sbcap_link_fsm.h b/include/osmocom/cbc/sbcap_link_fsm.h
index e41f1d2..48b4f41 100644
--- a/include/osmocom/cbc/sbcap_link_fsm.h
+++ b/include/osmocom/cbc/sbcap_link_fsm.h
@@ -6,10 +6,7 @@
extern struct osmo_fsm sbcap_link_fsm;
enum sbcap_link_event {
- SBcAP_LINK_E_RX_RST_COMPL, /* reset complete received */
- SBcAP_LINK_E_RX_RST_FAIL, /* reset failure received */
- SBcAP_LINK_E_RX_KA_COMPL, /* keep-alive complete received */
- SBcAP_LINK_E_RX_RESTART, /* restart received */
+ SBcAP_LINK_E_RX_RESTART, /* SBc-AP PWS Restart Ind received */
SBcAP_LINK_E_CMD_RESET, /* RESET command from CBC */
SBcAP_LINK_E_CMD_CLOSE, /* CLOSE command from CBC */
};
diff --git a/src/sbcap_link_fsm.c b/src/sbcap_link_fsm.c
index 0c66a62..d4d10f2 100644
--- a/src/sbcap_link_fsm.c
+++ b/src/sbcap_link_fsm.c
@@ -42,9 +42,6 @@
};
static const struct value_string sbcap_link_event_names[] = {
- { SBcAP_LINK_E_RX_RST_COMPL, "Rx Reset Complete" },
- { SBcAP_LINK_E_RX_RST_FAIL, "Rx Reset Failure" },
- { SBcAP_LINK_E_RX_KA_COMPL, "Rx Keep-Alive Complete" },
{ SBcAP_LINK_E_RX_RESTART, "Rx Restart" },
{ SBcAP_LINK_E_CMD_RESET, "RESET.cmd" },
{ SBcAP_LINK_E_CMD_CLOSE, "CLOSE.cmd" },
To view, visit change 28801. To unsubscribe, or for help writing mail filters, visit settings.