msm8974-common: gps: Default apn ip type to ipv4

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>
This commit is contained in:
Dante Russo 2016-04-22 14:19:33 -07:00 committed by Kevin F. Haggerty
parent 9f30bd7912
commit 8483bcb6c9
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -736,7 +736,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;
}