Change in osmocom-bb[master]: layer23/l23sap.c: use the CHAN_IS_SACCH() macro

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat Oct 6 09:45:00 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/11253


Change subject: layer23/l23sap.c: use the CHAN_IS_SACCH() macro
......................................................................

layer23/l23sap.c: use the CHAN_IS_SACCH() macro

Change-Id: I25200bbcd174882b37e7c628e7f1204c488aa258
---
M src/host/layer23/src/common/l23sap.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/53/11253/1

diff --git a/src/host/layer23/src/common/l23sap.c b/src/host/layer23/src/common/l23sap.c
index e41e8ce..5a3e79e 100644
--- a/src/host/layer23/src/common/l23sap.c
+++ b/src/host/layer23/src/common/l23sap.c
@@ -65,7 +65,7 @@
 	rsl_dec_chan_nr(dl->chan_nr, &chan_type, &chan_ss, &chan_ts);
 
 	/* counting loss criteria */
-	if (!(dl->link_id & 0x40)) {
+	if (!CHAN_IS_SACCH(dl->link_id)) {
 		switch (chan_type) {
 		case RSL_CHAN_PCH_AGCH:
 			/* only look at one CCCH frame in each 51 multiframe.

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I25200bbcd174882b37e7c628e7f1204c488aa258
Gerrit-Change-Number: 11253
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181006/c7c262d1/attachment.htm>


More information about the gerrit-log mailing list