trxcon: ignore TRXCON_EV_TX_DATA_CNF in TRXCON_ST_PACKET_DATA

Change-Id: Ie3c53ffbac1f1906cc97ef66eb74e24aee2cb2c4
Related: OS#5500
This commit is contained in:
Vadim Yanitskiy 2023-04-26 20:16:32 +07:00
parent 09b971d8b9
commit 712e7cdf24
2 changed files with 4 additions and 2 deletions

View File

@ -614,6 +614,8 @@ static void trxcon_st_packet_data_action(struct osmo_fsm_inst *fi,
l1sched_reset(trxcon->sched, false);
/* TODO: switch to (not implemented) TRXCON_ST_DCH_TUNING? */
break;
case TRXCON_EV_TX_DATA_CNF:
break;
default:
OSMO_ASSERT(0);
}
@ -711,7 +713,8 @@ static const struct osmo_fsm_state trxcon_fsm_states[] = {
| S(TRXCON_EV_GPRS_UL_TBF_CFG_REQ)
| S(TRXCON_EV_GPRS_DL_TBF_CFG_REQ)
| S(TRXCON_EV_GPRS_UL_BLOCK_REQ)
| S(TRXCON_EV_RX_DATA_IND),
| S(TRXCON_EV_RX_DATA_IND)
| S(TRXCON_EV_TX_DATA_CNF),
.onenter = &trxcon_st_packet_data_onenter,
.onleave = &trxcon_st_packet_data_onleave,
.action = &trxcon_st_packet_data_action,

View File

@ -110,7 +110,6 @@ static int handle_prim_data_cnf(struct trxcon_inst *trxcon, struct msgb *msg)
0, 0, true);
}
/* XXX: do not send for L1SCHED_DT_PACKET_DATA */
return osmo_fsm_inst_dispatch(trxcon->fi, TRXCON_EV_TX_DATA_CNF, &cnf);
}