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
This commit is contained in:
Philipp Maier 2023-05-04 16:32:59 +02:00
parent 3f5a343098
commit 04a373cf6a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {