iface-modem-3gpp: fix location update when LAC=0 but TAC given
This commit is contained in:
@@ -1238,7 +1238,7 @@ mm_iface_modem_3gpp_update_location (MMIfaceModem3gpp *self,
|
||||
* where we're registering (loading current registration info after a state
|
||||
* change to registered), we also allow LAC/CID updates. */
|
||||
if (reg_state_is_registered (state) || ctx->reloading_registration_info) {
|
||||
if (location_area_code > 0 && cell_id > 0)
|
||||
if ((location_area_code > 0 || tracking_area_code > 0) && cell_id > 0)
|
||||
mm_iface_modem_location_3gpp_update_lac_tac_ci (MM_IFACE_MODEM_LOCATION (self),
|
||||
location_area_code,
|
||||
tracking_area_code,
|
||||
|
Reference in New Issue
Block a user