falconia has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmo-abis/+/37251?usp=email )


Change subject: trau_rtp_conv.c cosmetic: fix typo in name of static function
......................................................................

trau_rtp_conv.c cosmetic: fix typo in name of static function

Change I7a6d13d406484c01210594bb6d2f0aff7c1341ab introduced
a static function in src/trau/trau_rtp_conv.c that was intended
to be named twts002_hr16_set_extra_flags().  However, a typo
crept in unnoticed, and the patch was merged with this function
name misspelled as twtw002_hr16_set_extra_flags().  Fix it.

Related: OS#6448
Change-Id: I63bb678f7a1f26fefba070ddc10850db24cb88b3
---
M src/trau/trau_rtp_conv.c
1 file changed, 19 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/51/37251/1

diff --git a/src/trau/trau_rtp_conv.c b/src/trau/trau_rtp_conv.c
index f347cca..91bf228 100644
--- a/src/trau/trau_rtp_conv.c
+++ b/src/trau/trau_rtp_conv.c
@@ -162,7 +162,7 @@
        FT_NO_DATA              = 7,
 };

-static void twtw002_hr16_set_extra_flags(uint8_t *out, const struct 
osmo_trau_frame *tf)
+static void twts002_hr16_set_extra_flags(uint8_t *out, const struct 
osmo_trau_frame *tf)
 {
        if (tf->c_bits[16])     /* DTXd */
                out[0] |= 0x08;
@@ -223,7 +223,7 @@
        if (emit_twts002) {
                if (tf->c_bits[11] && sidc == OSMO_GSM631_SID_CLASS_SPEECH)
                        out[0] = FT_BFI_WITH_DATA << 4;
-               twtw002_hr16_set_extra_flags(out, tf);
+               twts002_hr16_set_extra_flags(out, tf);
                /* invalid SID frames are truncated in TW-TS-002 */
                if (sidc == OSMO_GSM631_SID_CLASS_INVALID)
                        return 1;
@@ -243,7 +243,7 @@
 bad_frame:
        if (emit_twts002) {
                out[0] = FT_NO_DATA << 4;
-               twtw002_hr16_set_extra_flags(out, tf);
+               twts002_hr16_set_extra_flags(out, tf);
                return 1;
        } else
                return 0;

--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/37251?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I63bb678f7a1f26fefba070ddc10850db24cb88b3
Gerrit-Change-Number: 37251
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <[email protected]>
Gerrit-MessageType: newchange

Reply via email to