diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-12-19 19:15:58 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-12-19 19:18:42 +0700 |
commit | 2e861308d65b650642ad9215cd877172e17a4ba0 (patch) | |
tree | 68b08248b83d9b7ac439aa53991a1a3082f07724 /src | |
parent | a1473ab10e4c5f1266c53f679f3cd7ea39abc7a7 (diff) |
layer23/mobile: drop dead SAP initialization code
SAP connection can be initialized upon request.
Change-Id: Ic89089c4850ab2c9252bfd43a05d5271e2e3a160
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/src/mobile/app_mobile.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index a051fbaa..84dec865 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -221,16 +221,6 @@ static int mobile_init(struct osmocom_ms *ms) 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); |