Change in osmocom-bb[master]: host/layer23: don't init SAP interface by default

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
Tue Dec 18 16:50:51 UTC 2018


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


Change subject: host/layer23: don't init SAP interface by default
......................................................................

host/layer23: don't init SAP interface by default

Almost all layer23 applications, excluding mobile, have nothing
to do with SAP interface. Moreover, the current implementation
does initialize SAP connection automatically, as soon as the
first message is sent.

Change-Id: I62cc69c06fa15468a55bb0a9d408267d0745174c
---
M src/host/layer23/src/common/main.c
1 file changed, 0 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/50/12350/1

diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c
index 2920cd9..8abd3f7 100644
--- a/src/host/layer23/src/common/main.c
+++ b/src/host/layer23/src/common/main.c
@@ -258,10 +258,6 @@
 		exit(1);
 	}
 
-	rc = sap_open(ms, sap_socket_path);
-	if (rc < 0)
-		fprintf(stderr, "Failed during sap_open(), no SIM reader\n");
-
 	ms->lapdm_channel.lapdm_dcch.l1_ctx = ms;
 	ms->lapdm_channel.lapdm_dcch.l3_ctx = ms;
 	ms->lapdm_channel.lapdm_acch.l1_ctx = ms;

-- 
To view, visit https://gerrit.osmocom.org/12350
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: I62cc69c06fa15468a55bb0a9d408267d0745174c
Gerrit-Change-Number: 12350
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/20181218/e56ed41b/attachment.htm>


More information about the gerrit-log mailing list