diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-12-18 23:33:31 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-12-18 23:38:21 +0700 |
commit | e42629e897d7d01f4ff6518fdfe385a12ef1c5b4 (patch) | |
tree | 490c1783faf75a841bb5234656b002c6c7d92449 /src | |
parent | 152a2da8d21d7a10d217e3adb51f57ca4e848d82 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/host/layer23/src/common/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c index 2920cd9e..8abd3f79 100644 --- a/src/host/layer23/src/common/main.c +++ b/src/host/layer23/src/common/main.c @@ -258,10 +258,6 @@ int main(int argc, char **argv) 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; |