From 04a373cf6af05964e9dc39e75c83d6acfdff6901 Mon Sep 17 00:00:00 2001 From: Philipp Maier Date: Thu, 4 May 2023 16:32:59 +0200 Subject: [PATCH] l1sap: fix wording in comment The function rtppayload_is_valid() is called from the receiving RTP code path. Lets use the word "forwarding" instead of "sending" to avoid the impression something is sent (like sending RTP packets to the outside world) Change-Id: Ie7fcc53dea462b0d575b0c9ca73ba7507289eefe --- src/common/l1sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 09e2d8c24..a7eb8308d 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -1255,7 +1255,7 @@ static bool rtppayload_is_valid(struct gsm_lchan *lchan, struct msgb *resp_msg) if (resp_msg->len == 0) return false; - /* Avoid sending bw-efficient AMR to lower layers, most bts models + /* Avoid forwarding bw-efficient AMR to lower layers, most bts models * don't support it. */ if (lchan->tch_mode == GSM48_CMODE_SPEECH_AMR && !rtppayload_is_octet_aligned(resp_msg->data, resp_msg->len)) {