fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/42585?usp=email )

Change subject: bssap: use LOGPFSML in bssmap_handle_assignm_req()
......................................................................

bssap: use LOGPFSML in bssmap_handle_assignm_req()

Change-Id: If99661c0ff1177214bacdb2d1bcb9da1d2d2957c
---
M src/osmo-bsc/osmo_bsc_bssap.c
1 file changed, 3 insertions(+), 3 deletions(-)

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




diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 7a9688d..dbd1a20 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -1144,7 +1144,7 @@

        /* Check for channel type element, if its missing, immediately reject */
        if (!TLVP_PRESENT(&tp, GSM0808_IE_CHANNEL_TYPE)) {
-               LOGP(DMSC, LOGL_ERROR, "Mandatory channel type not present.\n");
+               LOGPFSML(conn->fi, LOGL_ERROR, "Mandatory channel type not 
present.\n");
                cause = GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING;
                goto reject;
        }
@@ -1153,7 +1153,7 @@
        rc = gsm0808_dec_channel_type(&ct,  TLVP_VAL(&tp, 
GSM0808_IE_CHANNEL_TYPE),
                                      TLVP_LEN(&tp, GSM0808_IE_CHANNEL_TYPE));
        if (rc < 0) {
-               LOGP(DMSC, LOGL_ERROR, "unable to decode channel type.\n");
+               LOGPFSML(conn->fi, LOGL_ERROR, "unable to decode channel 
type.\n");
                cause = GSM0808_CAUSE_INCORRECT_VALUE;
                goto reject;
        }
@@ -1167,7 +1167,7 @@
                rc = gsm0808_dec_group_callref(&gc, TLVP_VAL(&tp, 
GSM0808_IE_GROUP_CALL_REFERENCE),
                                               TLVP_LEN(&tp, 
GSM0808_IE_GROUP_CALL_REFERENCE));
                if (rc < 0) {
-                       LOGP(DMSC, LOGL_ERROR, "Unable to decode Group Call 
Reference.\n");
+                       LOGPFSML(conn->fi, LOGL_ERROR, "Unable to decode Group 
Call Reference.\n");
                        cause = GSM0808_CAUSE_INCORRECT_VALUE;
                        goto reject;
                }

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

Gerrit-MessageType: merged
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: If99661c0ff1177214bacdb2d1bcb9da1d2d2957c
Gerrit-Change-Number: 42585
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>

Reply via email to