mirror of https://github.com/PentHertz/srsLTE.git
fix bug when parsing cipher algo config for SS
This commit is contained in:
parent
8a69772ebc
commit
72c5b381e4
|
@ -447,9 +447,9 @@ private:
|
|||
std::string cipher_algo_string = as_sec["StartRestart"]["Ciphering"]["Algorithm"].GetString();
|
||||
if (cipher_algo_string == "eea0") {
|
||||
cipher_algo = srslte::CIPHERING_ALGORITHM_ID_EEA0;
|
||||
} else if (int_algo_string == "eea1") {
|
||||
} else if (cipher_algo_string == "eea1") {
|
||||
cipher_algo = srslte::CIPHERING_ALGORITHM_ID_128_EEA1;
|
||||
} else if (int_algo_string == "eea2") {
|
||||
} else if (cipher_algo_string == "eea2") {
|
||||
cipher_algo = srslte::CIPHERING_ALGORITHM_ID_128_EEA2;
|
||||
} else {
|
||||
log->error("Unsupported ciphering algorithm %s\n", cipher_algo_string.c_str());
|
||||
|
|
Loading…
Reference in New Issue