mac,nr: avoid use of uninitialized rnti value

This commit is contained in:
Francisco Paisana 2021-08-31 11:58:13 +02:00
parent fec60344dd
commit 01441d143d
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ private:
static const uint16_t FIRST_RNTI = 0x4601;
srsran::static_circular_map<uint16_t, std::unique_ptr<ue_nr>, SRSENB_MAX_UES> ue_db;
std::atomic<uint16_t> ue_counter;
std::atomic<uint16_t> ue_counter{0};
// BCH buffers
struct sib_info_t {