summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/settings.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-25 01:18:41 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-26 20:52:18 +0000
commite11725aa868c8093288d0e1985854e15c7cb46e9 (patch)
treefd60d677eb3128820a702fb040ce47908f8bcd85 /src/host/layer23/src/mobile/settings.c
parentb9073067c67196b4281ed57d5385a273fdab0406 (diff)
host/layer23: rename GSM_SIM_TYPE_READER to GSM_SIM_TYPE_L1PHY
Since we have two ways to interact with a physical SIM: - using built-in SIM reader of the L1 PHY (via L1CTL), - using remote reader via (BT)SAP protocol, name 'GSM_SIM_TYPE_READER' looks quite confusing. Let's rename it in order to explicitly indicate the role of L1 PHY. Change-Id: I0f83f365ed50cfd658fdd3a9d6866ed76c8c4009
Diffstat (limited to 'src/host/layer23/src/mobile/settings.c')
-rw-r--r--src/host/layer23/src/mobile/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/mobile/settings.c b/src/host/layer23/src/mobile/settings.c
index a4bb4e36..388c7547 100644
--- a/src/host/layer23/src/mobile/settings.c
+++ b/src/host/layer23/src/mobile/settings.c
@@ -49,7 +49,7 @@ int gsm_settings_init(struct osmocom_ms *ms)
sprintf(set->imeisv, "0000000000000000");
/* SIM type */
- set->sim_type = GSM_SIM_TYPE_READER;
+ set->sim_type = GSM_SIM_TYPE_L1PHY;
/* test SIM */
strcpy(set->test_imsi, "001010000000000");