mirror of git://git.sysmocom.de/ofono
gprs: Always store RoamingAllowed as a boolean.
In one instance it was stored as boolean and another as int. Since its always parsed as a boolean and it is a boolean, always store it as boolean.
This commit is contained in:
parent
fe9d22374e
commit
05aaab72ae
|
@ -1793,7 +1793,7 @@ static DBusMessage *gprs_set_property(DBusConnection *conn,
|
|||
gprs->roaming_allowed = value;
|
||||
|
||||
if (gprs->settings) {
|
||||
g_key_file_set_integer(gprs->settings, SETTINGS_GROUP,
|
||||
g_key_file_set_boolean(gprs->settings, SETTINGS_GROUP,
|
||||
"RoamingAllowed",
|
||||
gprs->roaming_allowed);
|
||||
storage_sync(gprs->imsi, SETTINGS_STORE,
|
||||
|
|
Loading…
Reference in New Issue