projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9002438
)
ofono: Remove unnecessary brackets
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 15 Dec 2011 15:04:37 +0000
(16:04 +0100)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Thu, 15 Dec 2011 15:06:38 +0000
(16:06 +0100)
plugins/ofono.c
patch
|
blob
|
history
diff --git
a/plugins/ofono.c
b/plugins/ofono.c
index
3486014
..
41d28ae
100644
(file)
--- 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);
}