summaryrefslogtreecommitdiff
path: root/core/ContextBase.cpp
diff options
context:
space:
mode:
authorNaresh Munagala <nareshm@codeaurora.org>2016-08-27 12:22:17 +0530
committerBaili Feng <bailif@codeaurora.org>2017-03-16 10:04:52 +0800
commitbabc8a9f7c48fc00b7b396f3b2d0b008d17d7708 (patch)
tree3e30b46a6b68e3d5d18d49e5f661443577729e50 /core/ContextBase.cpp
parent681388fa8dd3f1ff9c8b788ac20e90a16fd5b62d (diff)
downloadgps-babc8a9f7c48fc00b7b396f3b2d0b008d17d7708.tar.gz
set default supl config to MSB
Default SUPL config bit was set to both MSA and MSB (0x3), which is causing single shot request to map to MSA mode always. Modem is not reporting any position fix for MSA case. Change-Id: I8a75f9970a0443c9cb22f73a631f85240fcc4519 CRs-Fixed: 1098896
Diffstat (limited to 'core/ContextBase.cpp')
-rw-r--r--core/ContextBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp
index a9858e2..fbc8232 100644
--- a/core/ContextBase.cpp
+++ b/core/ContextBase.cpp
@@ -96,7 +96,7 @@ void ContextBase::readConfig()
mGps_conf.NMEA_PROVIDER = 0;
mGps_conf.GPS_LOCK = 0;
mGps_conf.SUPL_VER = 0x10000;
- mGps_conf.SUPL_MODE = 0x3;
+ mGps_conf.SUPL_MODE = 0x1;
mGps_conf.SUPL_ES = 0;
mGps_conf.CAPABILITIES = 0x7;
/* LTE Positioning Profile configuration is disable by default*/