diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-20 21:03:17 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-20 21:03:17 -0600 |
commit | 11de395af9f65a384f29a48aa7a79c0edd22594a (patch) | |
tree | ad83388419e7caa2172567ee0c964f3af01da0c1 /src/cbs.c | |
parent | aebda1ac9471949351d29a02a1aa7101f0eb06b5 (diff) | |
download | ofono-11de395af9f65a384f29a48aa7a79c0edd22594a.tar.bz2 |
Fix: Make the powered setting actually work
Diffstat (limited to 'src/cbs.c')
-rw-r--r-- | src/cbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |