Vadim Yanitskiy has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/62/12362/1

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: newchange
Gerrit-Change-Id: Ic89089c4850ab2c9252bfd43a05d5271e2e3a160
Gerrit-Change-Number: 12362
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>

Reply via email to