Fix: Make the powered setting actually work

This commit is contained in:
Denis Kenzior 2010-01-20 21:03:17 -06:00
parent aebda1ac94
commit 11de395af9
1 changed files with 2 additions and 2 deletions

View File

@ -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);