aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf_ul.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-04-26 16:48:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-04-26 17:19:07 +0200
commit54742f287c9fe3208f867f95a11ef63e5b0ab4e9 (patch)
tree3d0b5e4b92745af009150098b1d55dd6404f8358 /src/tbf_ul.h
parent14339f6faca8a3e7db54c00c3de6ce8eb791f244 (diff)
ul_tbf: Clean up handle_tbf_reject()
Document the function, make it look similar to usual TBF creation path tbf_alloc_ul()->tbf_alloc_ul_tbf->tbf::setup(), which it mimics with some differences. Get rid of unneeded stuff like creating MS and settings its TLLI (that's already done in only caller of the function). There's no need for calling update_ms() either. Change-Id: I61df2e4f0f0df1f8db941741a2d35a2319252c5e
Diffstat (limited to 'src/tbf_ul.h')
-rw-r--r--src/tbf_ul.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_ul.h b/src/tbf_ul.h
index a2ad25ea..53c7ad86 100644
--- a/src/tbf_ul.h
+++ b/src/tbf_ul.h
@@ -121,7 +121,7 @@ struct gprs_rlcmac_ul_tbf *tbf_alloc_ul_tbf(struct gprs_rlcmac_bts *bts, GprsMs
struct gprs_rlcmac_ul_tbf *tbf_alloc_ul(struct gprs_rlcmac_bts *bts, GprsMs *ms,
int8_t use_trx, uint32_t tlli);
struct gprs_rlcmac_ul_tbf *handle_tbf_reject(struct gprs_rlcmac_bts *bts,
- GprsMs *ms, uint32_t tlli, uint8_t trx_no, uint8_t ts_no);
+ GprsMs *ms, uint8_t trx_no, uint8_t ts_no);
#else /* ifdef __cplusplus */
struct gprs_rlcmac_ul_tbf;