pespin has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/33550 )
Change subject: rlcmac: tbf_dl: Fix typo in event name
......................................................................
rlcmac: tbf_dl: Fix typo in event name
Change-Id: I089d8e5f0a3e8946cc78a0e9645a8d040aa7dddf
---
M include/osmocom/gprs/rlcmac/tbf_dl_fsm.h
M src/rlcmac/tbf_dl_ass_fsm.c
M src/rlcmac/tbf_dl_fsm.c
3 files changed, 14 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, approved
diff --git a/include/osmocom/gprs/rlcmac/tbf_dl_fsm.h
b/include/osmocom/gprs/rlcmac/tbf_dl_fsm.h
index 5458b68..d1527fc 100644
--- a/include/osmocom/gprs/rlcmac/tbf_dl_fsm.h
+++ b/include/osmocom/gprs/rlcmac/tbf_dl_fsm.h
@@ -23,7 +23,7 @@
enum tbf_dl_fsm_event {
GPRS_RLCMAC_TBF_DL_EV_LAST_DL_DATA_RECVD,
- GPRS_RLCMAC_TBF_UL_EV_DL_ASS_COMPL,
+ GPRS_RLCMAC_TBF_DL_EV_DL_ASS_COMPL,
};
int gprs_rlcmac_tbf_dl_fsm_init(void);
diff --git a/src/rlcmac/tbf_dl_ass_fsm.c b/src/rlcmac/tbf_dl_ass_fsm.c
index 4bb6ae9..40bd17c 100644
--- a/src/rlcmac/tbf_dl_ass_fsm.c
+++ b/src/rlcmac/tbf_dl_ass_fsm.c
@@ -217,7 +217,7 @@
ctx->gre->dl_tbf = dl_tbf;
/* Inform the main TBF state about the assignment completed: */
- osmo_fsm_inst_dispatch(dl_tbf->state_fsm.fi, GPRS_RLCMAC_TBF_UL_EV_DL_ASS_COMPL,
NULL);
+ osmo_fsm_inst_dispatch(dl_tbf->state_fsm.fi, GPRS_RLCMAC_TBF_DL_EV_DL_ASS_COMPL,
NULL);
/* Go back to IDLE state. */
tbf_dl_ass_fsm_state_chg(fi, GPRS_RLCMAC_TBF_DL_ASS_ST_IDLE);
}
diff --git a/src/rlcmac/tbf_dl_fsm.c b/src/rlcmac/tbf_dl_fsm.c
index 3ceea97..606b985 100644
--- a/src/rlcmac/tbf_dl_fsm.c
+++ b/src/rlcmac/tbf_dl_fsm.c
@@ -31,7 +31,7 @@
static const struct value_string tbf_dl_fsm_event_names[] = {
{ GPRS_RLCMAC_TBF_DL_EV_LAST_DL_DATA_RECVD, "LAST_DL_DATA_RECVD" },
- { GPRS_RLCMAC_TBF_UL_EV_DL_ASS_COMPL, "DL_ASS_COMPL" },
+ { GPRS_RLCMAC_TBF_DL_EV_DL_ASS_COMPL, "DL_ASS_COMPL" },
{ 0, NULL }
};
@@ -54,7 +54,7 @@
{
struct gprs_rlcmac_tbf_dl_fsm_ctx *ctx = (struct gprs_rlcmac_tbf_dl_fsm_ctx
*)fi->priv;
switch (event) {
- case GPRS_RLCMAC_TBF_UL_EV_DL_ASS_COMPL:
+ case GPRS_RLCMAC_TBF_DL_EV_DL_ASS_COMPL:
/* Configure DL TBF on the lower MAC side: */
gprs_rlcmac_dl_tbf_configure_l1ctl(ctx->dl_tbf);
tbf_dl_fsm_state_chg(fi, GPRS_RLCMAC_TBF_DL_ST_FLOW);
@@ -91,7 +91,7 @@
static struct osmo_fsm_state tbf_dl_fsm_states[] = {
[GPRS_RLCMAC_TBF_DL_ST_NEW] = {
.in_event_mask =
- X(GPRS_RLCMAC_TBF_UL_EV_DL_ASS_COMPL),
+ X(GPRS_RLCMAC_TBF_DL_EV_DL_ASS_COMPL),
.out_state_mask =
X(GPRS_RLCMAC_TBF_DL_ST_FLOW),
.name = "NEW",
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/33550
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: I089d8e5f0a3e8946cc78a0e9645a8d040aa7dddf
Gerrit-Change-Number: 33550
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged