From 2188d6c208fea707e63a94db57d4341f9ba20236 Mon Sep 17 00:00:00 2001 From: Zoltan Bojthe Date: Mon, 3 Jun 2024 15:42:02 +0200 Subject: [PATCH] LteDlFeedbackGenerator: replace getAncestorPar() call with par() The module already has the parameter "feedbackGeneratorType", getAncestorPar() found that. --- src/stack/phy/feedback/LteDlFeedbackGenerator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stack/phy/feedback/LteDlFeedbackGenerator.cc b/src/stack/phy/feedback/LteDlFeedbackGenerator.cc index cbabb451a..4c0f1aa98 100644 --- a/src/stack/phy/feedback/LteDlFeedbackGenerator.cc +++ b/src/stack/phy/feedback/LteDlFeedbackGenerator.cc @@ -240,7 +240,7 @@ void LteDlFeedbackGenerator::sendFeedback(LteFeedbackDoubleVector fb, { feedbackReq.request = true; feedbackReq.genType = getFeedbackGeneratorType( - getAncestorPar("feedbackGeneratorType").stringValue()); + par("feedbackGeneratorType").stringValue()); feedbackReq.type = getFeedbackType(par("feedbackType").stringValue()); feedbackReq.txMode = currentTxMode_; feedbackReq.rbAllocationType = rbAllocationType_;