Skip to content

Commit

Permalink
msm8974-common: gps: Default apn ip type to ipv4
Browse files Browse the repository at this point in the history
If a apn ip type is not found for a agps
data connection, default to using ipv4
instead of invalid.

CRs-fixed: 1007417

Bug: 28986221

Change-Id: Icc71de1fab3fd5967901c39a5c11eaea17b7766c
Signed-off-by: D. Andrei Măceș <Andrei.Maces@alumni.nd.edu>
  • Loading branch information
Dante Russo authored and ArianK16a committed Aug 14, 2019
1 parent 021d642 commit 52ec51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gps/loc_api/libloc_api_50001/loc.cpp
Expand Up @@ -730,7 +730,7 @@ static int loc_agps_open_with_apniptype(const char* apn, ApnIpType apnIpType)
bearerType = AGPS_APN_BEARER_IPV4V6;
break;
default:
bearerType = AGPS_APN_BEARER_INVALID;
bearerType = AGPS_APN_BEARER_IPV4;
break;
}

Expand Down

0 comments on commit 52ec51e

Please sign in to comment.