tbf_ul_ass_fsm: Log both TBFs if old TBF is handling assignment for new one

Change-Id: If475560aab16b0a89743139189ff7720389132a5
changes/01/26201/1
Pau Espin 1 year ago
parent 715aeb4ebc
commit 7eb9e69506
  1. 7
      src/tbf_ul_ass_fsm.c

@ -110,7 +110,12 @@ struct msgb *create_packet_ul_assign(const struct tbf_ul_ass_fsm_ctx *ctx,
};
bitvec_unhex(&bv, DUMMY_VEC);
LOGPTBFUL((const struct gprs_rlcmac_tbf *)new_tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH)\n");
if (ctx->tbf != (struct gprs_rlcmac_tbf *)new_tbf)
LOGPTBFUL(ctx->tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH) for %s\n",
tbf_name((const struct gprs_rlcmac_tbf *)new_tbf));
else
LOGPTBFUL(ctx->tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH)\n");
mac_control_block = (RlcMacDownlink_t *)talloc_zero(ctx->tbf, RlcMacDownlink_t);
tlli = ms_tlli(ms);
write_packet_uplink_assignment(mac_control_block, tbf_tfi(ctx->tbf),

Loading…
Cancel
Save