This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/20414 ) Change subject: gsm_08_08: cosmetic: avoid confusion between LINKID and DLCI ...................................................................... gsm_08_08: cosmetic: avoid confusion between LINKID and DLCI Change-Id: I41e34670a4e173cdbd9617d2c7f7c49b1f5ab46c --- M include/osmocom/bsc/gsm_data.h M src/osmo-bsc/gsm_08_08.c 2 files changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/14/20414/1 diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 90ab8ea..a9a0d26 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -52,6 +52,7 @@ struct handover; #define OBSC_LINKID_CB(__msgb) (__msgb)->cb[3] +#define OBSC_DLCI_CB OBSC_LINKID_CB /* 3-bit long values */ #define EARFCN_PRIO_INVALID 8 diff --git a/src/osmo-bsc/gsm_08_08.c b/src/osmo-bsc/gsm_08_08.c index 7dc5cb2..fb33f21 100644 --- a/src/osmo-bsc/gsm_08_08.c +++ b/src/osmo-bsc/gsm_08_08.c @@ -563,7 +563,7 @@ bsc_scan_bts_msg(conn, msg); /* convert RSL link ID to DLCI, store in msg->cb */ - OBSC_LINKID_CB(msg) = RSL_LINK_ID2DLCI(link_id); + OBSC_DLCI_CB(msg) = RSL_LINK_ID2DLCI(link_id); osmo_fsm_inst_dispatch(conn->fi, GSCON_EV_MO_DTAP, msg); done: -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/20414 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: I41e34670a4e173cdbd9617d2c7f7c49b1f5ab46c Gerrit-Change-Number: 20414 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201002/756f6ed8/attachment.htm>