mirror of
https://gerrit.osmocom.org/osmo-gbproxy
synced 2024-08-21 18:36:25 +00:00
make sure we always schedule a location updating reject
IT sems that if a MS uses the TMSI of a previous network, we did not start the reject timer. Thanks to Andreas Eversberg.
This commit is contained in:
parent
6e1536e30e
commit
ccd693645b
1 changed files with 5 additions and 6 deletions
|
@ -1256,6 +1256,9 @@ static int mm_rx_loc_upd_req(struct msgb *msg)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* schedule the reject timer */
|
||||||
|
schedule_reject(lchan);
|
||||||
|
|
||||||
if (!subscr) {
|
if (!subscr) {
|
||||||
DEBUGPC(DRR, "<- Can't find any subscriber for this ID\n");
|
DEBUGPC(DRR, "<- Can't find any subscriber for this ID\n");
|
||||||
/* FIXME: request id? close channel? */
|
/* FIXME: request id? close channel? */
|
||||||
|
@ -1264,12 +1267,8 @@ static int mm_rx_loc_upd_req(struct msgb *msg)
|
||||||
|
|
||||||
lchan->subscr = subscr;
|
lchan->subscr = subscr;
|
||||||
|
|
||||||
/*
|
/* check if we can let the subscriber into our network immediately
|
||||||
* Schedule the reject timer and check if we can let the
|
* or if we need to wait for identity responses. */
|
||||||
* subscriber into our network immediately or if we need to wait
|
|
||||||
* for identity responses.
|
|
||||||
*/
|
|
||||||
schedule_reject(lchan);
|
|
||||||
return gsm0408_authorize(lchan, msg);
|
return gsm0408_authorize(lchan, msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue