aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-05-04 16:32:59 +0200
committerPhilipp Maier <pmaier@sysmocom.de>2023-05-04 17:41:56 +0200
commit04a373cf6af05964e9dc39e75c83d6acfdff6901 (patch)
tree5c99b1b9a34bcaee1731e3bcc47d9594611ade76
parent3f5a343098fe1735aaaf95bf58f76962488d63c0 (diff)
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
-rw-r--r--src/common/l1sap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 09e2d8c2..a7eb8308 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)) {