diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-27 20:57:35 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:13 +0100 |
commit | 5464c9baf274950b051cbe7a597001343f4f5c07 (patch) | |
tree | 320de9c63da9135c3baf04cdde2edf5dad6d87d4 /src/bts.cpp | |
parent | 34f6e5ebe63f46ccf4ce97899c66a83f6f39d355 (diff) |
tbf: Have one imsi field and assign it through a function
Have one IMSI field per TBF and assign through a function call.
The IMSI should be used to look-up the TBF on the SGSN->PCU
direction.
Diffstat (limited to 'src/bts.cpp')
-rw-r--r-- | src/bts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index 285c184a..91436f70 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -481,7 +481,7 @@ void BTS::trigger_dl_ass( /* change state */ tbf_new_state(tbf, GPRS_RLCMAC_ASSIGN); tbf->state_flags |= (1 << GPRS_RLCMAC_FLAG_CCCH); - strncpy(tbf->dir.dl.imsi, imsi, sizeof(tbf->dir.dl.imsi)); + tbf->assign_imsi(imsi); /* send immediate assignment */ tbf->bts->snd_dl_ass(tbf, 0, imsi); tbf->dir.dl.wait_confirm = 1; |