summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/settings.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-06-04 06:37:55 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-06-04 06:50:25 +0200
commitfcb420d50b2cc3a73487f49d8d09d04d07bab7a8 (patch)
tree812edc062be5ef048eff56b33b4fdea6ff7895da /src/host/layer23/src/mobile/settings.c
parenta81c83fc2cd9ef04167a499011315878281afd2e (diff)
mobile/sms: Make it optional to store the SMS on disk
Disable storing the SMS on disk. This is useful when scripting mobile. Keep the default of attempting to store it to disk. Change-Id: I6353447343d98ebaa5e12ab63f995750f81c8500
Diffstat (limited to 'src/host/layer23/src/mobile/settings.c')
-rw-r--r--src/host/layer23/src/mobile/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/settings.c b/src/host/layer23/src/mobile/settings.c
index f1c0cfcd..7370b0ab 100644
--- a/src/host/layer23/src/mobile/settings.c
+++ b/src/host/layer23/src/mobile/settings.c
@@ -92,6 +92,8 @@ int gsm_settings_init(struct osmocom_ms *ms)
set->any_timeout = MOB_C7_DEFLT_ANY_TIMEOUT;
+ set->store_sms = true;
+
INIT_LLIST_HEAD(&set->abbrev);
return 0;