PCRF: just use the given QoS profile and accept it

This commit is contained in:
Alexander Couzens 2022-06-14 18:13:00 +02:00
parent 1983d9d7a7
commit d7ccfdb3f8
1 changed files with 4 additions and 2 deletions

View File

@ -281,7 +281,9 @@ int pcrf_db_qos_data(
ogs_assert(supi);
/* For EPC, we'll use [S_NSSAI = NULL] */
rv = ogs_dbi_session_data(supi, NULL, apn, session_data);
// rv = ogs_dbi_session_data(supi, NULL, apn, session_data);
/* just use the requested QoS */
rv = 0;
/* For EPC, we need to inialize Flow-Status in Pcc-Rule */
for (i = 0; i < session_data->num_of_pcc_rule; i++) {
@ -292,7 +294,7 @@ int pcrf_db_qos_data(
ogs_free(supi);
ogs_thread_mutex_unlock(&self.db_lock);
return rv;
return 0;
}
void pcrf_sess_set_ipv4(const void *key, uint8_t *sid)