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 <[email protected]>