Bug fixed in AGPS checks

Fixed conditional check from
MSA|MSA to MSA|MSB. Bug was
introduced in commit 782431a
CRs-Fixed: 533849

Change-Id: I7931563e08c5c875b49cc9ada2969a34373a2890
This commit is contained in:
Tushar Janefalkar 2013-09-03 09:45:44 -07:00
parent b58cab8e26
commit a75c8b33d5

View file

@ -1454,7 +1454,7 @@ int loc_eng_init(loc_eng_data_s_type &loc_eng_data, LocCallbacks* callbacks,
//Disable AGPS if capabilities are not present
if(!(gps_conf.CAPABILITIES & GPS_CAPABILITY_MSA) &&
!(gps_conf.CAPABILITIES & GPS_CAPABILITY_MSA)) {
!(gps_conf.CAPABILITIES & GPS_CAPABILITY_MSB)) {
event &= ~(LOC_API_ADAPTER_BIT_LOCATION_SERVER_REQUEST |
LOC_API_ADAPTER_BIT_NI_NOTIFY_VERIFY_REQUEST);
}