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:
parent
9f30bd7912
commit
8483bcb6c9
@ -736,7 +736,7 @@ static int loc_agps_open_with_apniptype(const char* apn, ApnIpType apnIpType)
|
|||||||
bearerType = AGPS_APN_BEARER_IPV4V6;
|
bearerType = AGPS_APN_BEARER_IPV4V6;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
bearerType = AGPS_APN_BEARER_INVALID;
|
bearerType = AGPS_APN_BEARER_IPV4;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user