Fix GPS related KW P1 issues for MDM9x50.
Fix following GPS related KW P1 issues for MDM9x50 - 16806885,16806886,16806887, 16806888. Change-Id: I1f26fee30d7179883a48c3d067b4c90562e9e914 CRs-Fixed: 1025194
This commit is contained in:
parent
aa8a474a74
commit
93e8cad4f2
1 changed files with 6 additions and 2 deletions
|
@ -579,10 +579,14 @@ const GpsGeofencingInterface* get_geofence_interface(void)
|
||||||
}
|
}
|
||||||
dlerror(); /* Clear any existing error */
|
dlerror(); /* Clear any existing error */
|
||||||
get_gps_geofence_interface = (get_gps_geofence_interface_function)dlsym(handle, "gps_geofence_get_interface");
|
get_gps_geofence_interface = (get_gps_geofence_interface_function)dlsym(handle, "gps_geofence_get_interface");
|
||||||
if ((error = dlerror()) != NULL || NULL == get_gps_geofence_interface) {
|
if ((error = dlerror()) != NULL) {
|
||||||
LOC_LOGE ("%s, dlsym for get_gps_geofence_interface failed, error = %s\n", __func__, error);
|
LOC_LOGE ("%s, dlsym for get_gps_geofence_interface failed, error = %s\n", __func__, error);
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
if (NULL == get_gps_geofence_interface) {
|
||||||
|
LOC_LOGE ("%s, get_gps_geofence_interface is NULL\n", __func__);
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
geofence_interface = get_gps_geofence_interface();
|
geofence_interface = get_gps_geofence_interface();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue