tbf_{dl,ul}_ass_fsm.c: use proper macro to log tbf

TBF can be either UL or DL in that FSM.

Change-Id: Ief0cd5298e062f11b0f39716162a67b87c9ff35f
changes/14/26214/1
Pau Espin 1 year ago
parent bd1b90f141
commit 17bfbedbc7
  1. 4
      src/tbf_dl_ass_fsm.c
  2. 4
      src/tbf_ul_ass_fsm.c

@ -97,10 +97,10 @@ struct msgb *create_packet_dl_assign(const struct tbf_dl_ass_fsm_ctx *ctx,
bitvec_unhex(&bv, DUMMY_VEC);
if (ctx->tbf != (struct gprs_rlcmac_tbf *)new_dl_tbf)
LOGPTBFDL(ctx->tbf, LOGL_INFO, "start Packet Downlink Assignment (PACCH) for %s\n",
LOGPTBF(ctx->tbf, LOGL_INFO, "start Packet Downlink Assignment (PACCH) for %s\n",
tbf_name((const struct gprs_rlcmac_tbf *)new_dl_tbf));
else
LOGPTBFDL(ctx->tbf, LOGL_INFO, "start Packet Downlink Assignment (PACCH)\n");
LOGPTBF(ctx->tbf, LOGL_INFO, "start Packet Downlink Assignment (PACCH)\n");
mac_control_block = (RlcMacDownlink_t *)talloc_zero(ctx->tbf, RlcMacDownlink_t);
write_packet_downlink_assignment(mac_control_block, old_tfi_is_valid,

@ -111,10 +111,10 @@ struct msgb *create_packet_ul_assign(const struct tbf_ul_ass_fsm_ctx *ctx,
bitvec_unhex(&bv, DUMMY_VEC);
if (ctx->tbf != (struct gprs_rlcmac_tbf *)new_tbf)
LOGPTBFUL(ctx->tbf, LOGL_INFO, "start Packet Uplink Assignment (PACCH) for %s\n",
LOGPTBF(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");
LOGPTBF(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);

Loading…
Cancel
Save