[PATCH] openbsc[master]: unixsocket: start sabm for UNIXSOCKET

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

lynxis lazus gerrit-no-reply at lists.osmocom.org
Mon Mar 13 08:23:42 UTC 2017


Review at  https://gerrit.osmocom.org/2033

unixsocket: start sabm for UNIXSOCKET

openbsc only starts sabm messages for a subset of line drivers.
Add unixsocket to those subset.

Change-Id: If98c037119142cc33b46ab5c1bf02d4cda81c81e
---
M openbsc/src/libbsc/bts_ericsson_rbs2000.c
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/33/2033/1

diff --git a/openbsc/src/libbsc/bts_ericsson_rbs2000.c b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
index 1abf4a3..0cae6d8 100644
--- a/openbsc/src/libbsc/bts_ericsson_rbs2000.c
+++ b/openbsc/src/libbsc/bts_ericsson_rbs2000.c
@@ -141,13 +141,15 @@
 	case S_L_INP_LINE_INIT:
 	case S_L_INP_LINE_NOALARM:
 		if (strcasecmp(isd->line->driver->name, "DAHDI")
-		 && strcasecmp(isd->line->driver->name, "MISDN_LAPD"))
+		 && strcasecmp(isd->line->driver->name, "MISDN_LAPD")
+		 && strcasecmp(isd->line->driver->name, "UNIXSOCKET"))
 			break;
 		start_sabm_in_line(isd->line, 1);
 		break;
 	case S_L_INP_LINE_ALARM:
 		if (strcasecmp(isd->line->driver->name, "DAHDI")
-		 && strcasecmp(isd->line->driver->name, "MISDN_LAPD"))
+		 && strcasecmp(isd->line->driver->name, "MISDN_LAPD")
+		 && strcasecmp(isd->line->driver->name, "UNIXSOCKET"))
 			break;
 		start_sabm_in_line(isd->line, 0);
 		break;

-- 
To view, visit https://gerrit.osmocom.org/2033
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If98c037119142cc33b46ab5c1bf02d4cda81c81e
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>



More information about the gerrit-log mailing list