aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-09 10:45:28 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-08-09 10:46:35 +0200
commit5a2f3cce95d21e565528a47e5dda17d8ec9e5dc9 (patch)
tree4c9bf309f9945c5564c5a0bf54bb13298434dacb /src
parent7e6b4d7aa942dfff996a12ccdc769085058056d0 (diff)
iface-modem-3gpp: fix location update when LAC=0 but TAC given
Diffstat (limited to 'src')
-rw-r--r--src/mm-iface-modem-3gpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c
index 4aeaa8a1..72a9ab6d 100644
--- a/src/mm-iface-modem-3gpp.c
+++ b/src/mm-iface-modem-3gpp.c
@@ -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,