layer23/mobile: drop dead SAP initialization code
SAP connection can be initialized upon request. Change-Id: Ic89089c4850ab2c9252bfd43a05d5271e2e3a160
This commit is contained in:
parent
a1473ab10e
commit
2e861308d6
|
@ -221,16 +221,6 @@ static int mobile_init(struct osmocom_ms *ms)
|
||||||
return rc;
|
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);
|
gsm_random_imei(&ms->settings);
|
||||||
|
|
||||||
mobile_set_shutdown(ms, MS_SHUTDOWN_NONE);
|
mobile_set_shutdown(ms, MS_SHUTDOWN_NONE);
|
||||||
|
|
Loading…
Reference in New Issue