diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-10-27 20:32:02 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-10-27 22:26:15 -0500 |
commit | 107f6ee731cb097615221d42559b84838a6b7dcc (patch) | |
tree | 177455dddc499f74e0b8958af597eeb25b4a284d /src/radio-settings.c | |
parent | a4983d99eb377c032a617b6e017893904c9ef209 (diff) | |
download | ofono-107f6ee731cb097615221d42559b84838a6b7dcc.tar.bz2 |
radio-settings: Add extra newlines
To be compliant with the coding style
Diffstat (limited to 'src/radio-settings.c')
-rw-r--r-- | src/radio-settings.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/radio-settings.c b/src/radio-settings.c index dbcf5f44..cb0a598f 100644 --- a/src/radio-settings.c +++ b/src/radio-settings.c @@ -145,9 +145,12 @@ static void radio_fast_dormancy_set_callback(const struct ofono_error *error, if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { DBG("Error setting fast dormancy"); + rs->fast_dormancy_pending = rs->fast_dormancy; + reply = __ofono_error_failed(rs->pending); __ofono_dbus_pending_reply(&rs->pending, reply); + return; } @@ -185,9 +188,12 @@ static void radio_mode_set_callback(const struct ofono_error *error, void *data) if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { DBG("Error setting radio access mode"); + rs->pending_mode = rs->mode; + reply = __ofono_error_failed(rs->pending); __ofono_dbus_pending_reply(&rs->pending, reply); + return; } @@ -202,6 +208,7 @@ static void radio_send_properties_reply(struct ofono_radio_settings *rs) DBusMessage *reply; rs->flags |= RADIO_SETTINGS_FLAG_CACHED; + reply = radio_get_properties_reply(rs->pending, rs); __ofono_dbus_pending_reply(&rs->pending, reply); } @@ -214,8 +221,10 @@ static void radio_fast_dormancy_query_callback(const struct ofono_error *error, if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { DBG("Error during fast dormancy query"); + reply = __ofono_error_failed(rs->pending); __ofono_dbus_pending_reply(&rs->pending, reply); + return; } @@ -243,8 +252,10 @@ static void radio_rat_mode_query_callback(const struct ofono_error *error, if (error->type != OFONO_ERROR_TYPE_NO_ERROR) { DBG("Error during radio access mode query"); + reply = __ofono_error_failed(rs->pending); __ofono_dbus_pending_reply(&rs->pending, reply); + return; } |