Change in osmocom-bb[master]: layer23/mobile: drop dead SAP initialization code

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
Wed Dec 19 12:22:08 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged. ( https://gerrit.osmocom.org/12362 )

Change subject: layer23/mobile: drop dead SAP initialization code
......................................................................

layer23/mobile: drop dead SAP initialization code

SAP connection can be initialized upon request.

Change-Id: Ic89089c4850ab2c9252bfd43a05d5271e2e3a160
---
M src/host/layer23/src/mobile/app_mobile.c
1 file changed, 0 insertions(+), 10 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c
index a051fba..84dec86 100644
--- a/src/host/layer23/src/mobile/app_mobile.c
+++ b/src/host/layer23/src/mobile/app_mobile.c
@@ -221,16 +221,6 @@
 		return rc;
 	}
 
-#if 0
-	rc = sap_open(ms, ms->settings.sap_socket_path);
-	if (rc < 0) {
-		fprintf(stderr, "Failed during sap_open(), no SIM reader\n");
-		ms->sap_wq.bfd.fd = -1;
-		mobile_exit(ms, 1);
-		return rc;
-	}
-#endif
-
 	gsm_random_imei(&ms->settings);
 
 	mobile_set_shutdown(ms, MS_SHUTDOWN_NONE);

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic89089c4850ab2c9252bfd43a05d5271e2e3a160
Gerrit-Change-Number: 12362
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181219/81c82bf5/attachment.htm>


More information about the gerrit-log mailing list