hotfix to avoid checking for sdu_sizeP=255 in nr_rrc_data_req. If ever

the SDU has this size the function will return. This is an old piece of
code where 255 meant -1 which was what was returned from the asn1c
encoding function if the ASN.1 message was not encodable.
This commit is contained in:
Raymond Knopp
2022-12-07 22:23:10 +01:00
parent f7c3874e20
commit 3b0eed2edc
-4
View File
@@ -70,10 +70,6 @@ nr_rrc_data_req(
)
//------------------------------------------------------------------------------
{
if(sdu_sizeP == 255) {
LOG_D(RRC,"sdu_sizeP == 255");
return false;
}
MessageDef *message_p;
// Uses a new buffer to avoid issue with PDCP buffer content that could be changed by PDCP (asynchronous message handling).