laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/29636 )

Change subject: Fix LCLS-CONNECT-CONTROL generation
......................................................................

Fix LCLS-CONNECT-CONTROL generation

gsm0808_create_lcls_conn_ctrl() was adding the LCLS-Configuration IE twice.

Correct is LCLS-Configuration followed by LCLS-Connection-Status-Control
(TS 48.008 3.2.1.91)

Change-Id: I455ac7695ad33ef9073bea7d1711508717732607
---
M src/gsm/gsm0808.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index 4bb7303..42debac 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -373,7 +373,7 @@
        if (config != GSM0808_LCLS_CFG_NA)
                msgb_tv_put(msg, GSM0808_IE_LCLS_CONFIG, config);
        if (control != GSM0808_LCLS_CSC_NA)
-               msgb_tv_put(msg, GSM0808_IE_LCLS_CONFIG, control);
+               msgb_tv_put(msg, GSM0808_IE_LCLS_CONN_STATUS_CTRL, control);
        msg->l3h = msgb_tv_push(msg, BSSAP_MSG_BSS_MANAGEMENT, 
msgb_length(msg));

        return msg;

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/29636
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I455ac7695ad33ef9073bea7d1711508717732607
Gerrit-Change-Number: 29636
Gerrit-PatchSet: 1
Gerrit-Owner: keith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: neels <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to