mirror of
https://gerrit.osmocom.org/osmo-gbproxy
synced 2024-08-18 08:56:23 +00:00
[paging] Use one of the two reserved LAC to page every BTS
For the on-waves.com MSC case we want to page every BTS reached of the network. Our gsm_subscriber entry does not have a LAC entry set and defaults to zero. Use the reserved 0x0000 to indicate that we want to use every bts in the network. This will influence the paging code to start and stop paging.
This commit is contained in:
parent
1e43b8d049
commit
c3131655df
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ struct gsm_bts *gsm_bts_by_lac(struct gsm_network *net, unsigned int lac,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (bts->location_area_code == lac)
|
||||
if (lac == 0 || bts->location_area_code == lac)
|
||||
return bts;
|
||||
}
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue