mirror of git://git.sysmocom.de/ofono
Fix: Make the powered setting actually work
This commit is contained in:
parent
aebda1ac94
commit
11de395af9
|
@ -719,9 +719,9 @@ static void cbs_got_file_contents(struct ofono_cbs *cbs)
|
|||
"Powered", &error);
|
||||
|
||||
if (error) {
|
||||
cbs->powered = TRUE;
|
||||
powered = TRUE;
|
||||
g_key_file_set_boolean(cbs->settings, SETTINGS_GROUP,
|
||||
"Powered", cbs->powered);
|
||||
"Powered", powered);
|
||||
}
|
||||
|
||||
cbs_set_powered(cbs, powered, NULL);
|
||||
|
|
Loading…
Reference in New Issue