aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-16 21:27:34 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-17 16:23:27 +0200
commitaf9a39d9542c1f4f337fe2cc5596000eb2c60d53 (patch)
treec75d4d55193d94c856d0de82db95c35a058be0d3
parent28c40b17574a2dc792278baffb6f4f87e3559bb6 (diff)
tbf: Use update_ms instead of confirm_tlli in handle()
The confirm_tlli method does not handle TLLI clashes in the MS storage. This commit changes gprs_rlcmac_dl_tbf::handle() to use update_ms instead. Sponsored-by: On-Waves ehf
-rw-r--r--src/tbf_dl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 2d57952..1bc08b7 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -241,12 +241,8 @@ int gprs_rlcmac_dl_tbf::handle(struct gprs_rlcmac_bts *bts,
return rc;
}
- OSMO_ASSERT(dl_tbf->ms() != NULL);
- ms = dl_tbf->ms();
- GprsMs::Guard guard(ms);
-
rc = dl_tbf->append_data(ms_class, delay_csec, data, len);
- ms->confirm_tlli(tlli);
+ dl_tbf->update_ms(tlli, GPRS_RLCMAC_DL_TBF);
dl_tbf->assign_imsi(imsi);
return rc;