Search for BTS's in the Location Area of the subscriber we call

Search for the MS at BTS in the location area of the
called_subscr. This makes the case work where caller and
receiver are not in the same location area. In fact this
looks like a breach of a BSC/MSC separation, I have no idea
if in true networks a BSC is managing BTS in different location
areas.
This commit is contained in:
Holger Hans Peter Freyther 2009-06-10 02:52:31 +02:00
parent be1431076d
commit cd1f751e4c
1 changed files with 1 additions and 2 deletions

View File

@ -1357,8 +1357,7 @@ static int gsm48_cc_rx_setup(struct msgb *msg)
/* Start paging subscriber on all BTS in LAC of subscriber */
bts = NULL;
do {
bts = gsm_bts_by_lac(msg->trx->bts->network,
msg->lchan->subscr->lac, bts);
bts = gsm_bts_by_lac(msg->trx->bts->network, called_subscr->lac, bts);
if (!bts)
break;
/* Trigger paging */