From 0ca95254ae507caddebe45f6ee6e230a99e82bfc Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 25 Sep 2018 16:06:38 +0200 Subject: libmm-glib,location-3gpp: don't ignore location updates when MNC is 0 E.g. China Mobile (MCC 460, MNC 0). $ mmcli -m toby --location-get /org/freedesktop/ModemManager1/Modem/0 ------------------------- 3GPP location | Mobile country code: '460' | Mobile network code: '0' | Location area code: '6188' | Cell ID: '40955' ------------------------- GPS NMEA traces | Not available ------------------------- Raw GPS | Not available ------------------------- CDMA BS | Not available --- libmm-glib/mm-location-3gpp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmm-glib/mm-location-3gpp.h') diff --git a/libmm-glib/mm-location-3gpp.h b/libmm-glib/mm-location-3gpp.h index cde055ce..abcb4b84 100644 --- a/libmm-glib/mm-location-3gpp.h +++ b/libmm-glib/mm-location-3gpp.h @@ -84,6 +84,7 @@ gboolean mm_location_3gpp_set_cell_id (MMLocation3gpp *self, gulong cell_id); gboolean mm_location_3gpp_set_tracking_area_code (MMLocation3gpp *self, gulong tracking_area_code); +gboolean mm_location_3gpp_reset (MMLocation3gpp *self); #endif -- cgit v1.2.3-70-g09d2