diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-12-15 16:04:37 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2011-12-15 16:06:38 +0100 |
commit | 58966e8e8b4a90edcb539c557795acfbd39f45e5 (patch) | |
tree | 7181ce69915506efbc0b283f294e6147850624c2 /plugins/ofono.c | |
parent | 9002438bd0d8117dd0a20b6a716bd90771e6e7cf (diff) | |
download | connman-58966e8e8b4a90edcb539c557795acfbd39f45e5.tar.gz connman-58966e8e8b4a90edcb539c557795acfbd39f45e5.tar.bz2 connman-58966e8e8b4a90edcb539c557795acfbd39f45e5.zip |
ofono: Remove unnecessary brackets
Diffstat (limited to 'plugins/ofono.c')
-rw-r--r-- | plugins/ofono.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ofono.c b/plugins/ofono.c index 34860142..41d28ae7 100644 --- a/plugins/ofono.c +++ b/plugins/ofono.c @@ -2035,11 +2035,11 @@ static void add_modem(const char *path, DBusMessageIter *prop) if (modem->ignore == TRUE) return; - if (modem->powered == FALSE) { + if (modem->powered == FALSE) modem_set_powered(modem); - } else if (has_interface(modem->interfaces, OFONO_API_SIM) == TRUE) { + else if (has_interface(modem->interfaces, OFONO_API_SIM) == TRUE) sim_get_properties(modem); - } else + else connection_manager_init(modem); } |