AP Default Setting CRM Builds SM8250 and Beyond

loc_service_mask should not be populated with any
SAP(Basic or Premium) value if the SAP value is 
MODEM_DEFAULT.

Change-Id: I665bb90e4a814dc31bed566cc0b2ecffcfae52ac
CRs-Fixed: 2457874
This commit is contained in:
Nilesh Gharde 2019-06-04 12:09:01 +05:30 committed by Gerrit - the friendly Code Review server
parent aadcd5f7dc
commit ff98fecec4

View file

@ -622,6 +622,9 @@ int loc_read_process_conf(const char* conf_file_name, uint32_t * process_count_p
LOC_LOGD("%s:%d]: Setting SAP to mode: BASIC", __func__, __LINE__);
loc_service_mask |= LOC_FEATURE_MASK_SAP_BASIC;
}
else if(strcmp(conf.feature_sap, "MODEM_DEFAULT") == 0) {
LOC_LOGD("%s:%d]: Setting SAP to mode: MODEM_DEFAULT", __func__, __LINE__);
}
else if(strcmp(conf.feature_sap, "DISABLED") == 0) {
LOC_LOGD("%s:%d]: Setting SAP to mode: DISABLED", __func__, __LINE__);
}