pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/33260 )
Change subject: tbf_dl_fsm: Remove unneeded asserts ......................................................................
tbf_dl_fsm: Remove unneeded asserts
Those are leftovers from the time where we had a single tbf_fsm for both UL and DL TBF.
Change-Id: I99359b8cb655b26ac2058f457423fdec178744ea --- M src/tbf_dl_fsm.c 1 file changed, 12 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/60/33260/1
diff --git a/src/tbf_dl_fsm.c b/src/tbf_dl_fsm.c index 3ab1c53..d792fa2 100644 --- a/src/tbf_dl_fsm.c +++ b/src/tbf_dl_fsm.c @@ -245,7 +245,6 @@
switch (event) { case TBF_EV_DL_ACKNACK_MISS: - OSMO_ASSERT(tbf_direction(ctx->tbf) == GPRS_RLCMAC_DL_TBF); break; case TBF_EV_FINAL_ACK_RECVD: /* We received Final Ack (DL ACK/NACK) from MS. move to @@ -295,7 +294,6 @@ struct tbf_dl_fsm_ctx *ctx = (struct tbf_dl_fsm_ctx *)fi->priv; switch (event) { case TBF_EV_DL_ACKNACK_MISS: - OSMO_ASSERT(tbf_direction(ctx->tbf) == GPRS_RLCMAC_DL_TBF); /* Ignore, we don't care about missed DL ACK/NACK poll timeouts * anymore, we are already releasing the TBF */ break;