X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2F5gnrmac%2Fmac_mux.c;h=153db75484aa36a2f2b5499fed766c422f8cbe21;hb=d0d5d7b78e2a24af16003322cfd1c78bcd8d7664;hp=8017f57553cce5af4b2d3432046bcbac36cc0c5b;hpb=2193e4cf01012809495be026097e8d7eacb9f0ac;p=o-du%2Fl2.git diff --git a/src/5gnrmac/mac_mux.c b/src/5gnrmac/mac_mux.c index 8017f5755..153db7548 100644 --- a/src/5gnrmac/mac_mux.c +++ b/src/5gnrmac/mac_mux.c @@ -286,8 +286,8 @@ void macMuxPdu(MacDlData *dlData, MacCeInfo *macCeData, uint8_t *txPdu, uint16_t /* subheader fields */ uint8_t RBit = 0; /* Reserved bit */ - uint8_t FBit; /* Format Indicator */ - uint8_t lcid; /* LCID */ + uint8_t FBit =0; /* Format Indicator */ + uint8_t lcid =0; /* LCID */ uint16_t lenField = 0; /* Length field */ /* subheader field size (in bits) */ @@ -315,7 +315,7 @@ void macMuxPdu(MacDlData *dlData, MacCeInfo *macCeData, uint8_t *txPdu, uint16_t break; } default: - DU_LOG("\n MAC: Invalid LCID %d in mac pdu",lcid); + DU_LOG("\nERROR --> MAC: Invalid LCID %d in mac pdu",lcid); break; } } @@ -353,7 +353,7 @@ void macMuxPdu(MacDlData *dlData, MacCeInfo *macCeData, uint8_t *txPdu, uint16_t } default: - DU_LOG("\n MAC: Invalid LCID %d in mac pdu",lcid); + DU_LOG("\nERROR --> MAC: Invalid LCID %d in mac pdu",lcid); break; }