diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-10-29 12:50:28 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-29 14:18:58 -0500 |
commit | 8fed5a97fe9a2f602326274e194a95e9fc780d77 (patch) | |
tree | f03f7256b2dc1ba25dad38f50d563402d3f5e297 | |
parent | dab8e45d2e335742f628676dced064bc099ecd09 (diff) | |
download | ofono-8fed5a97fe9a2f602326274e194a95e9fc780d77.tar.bz2 |
Fix: Return EINPROGRESS as intended
-rw-r--r-- | plugins/mbm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mbm.c b/plugins/mbm.c index c70576f0..6cac0e36 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -132,7 +132,7 @@ static int mbm_enable(struct ofono_modem *modem) g_at_chat_send(data->chat, "AT+CFUN=1", NULL, cfun_enable, modem, NULL); - return 0; + return -EINPROGRESS; } static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) @@ -162,7 +162,7 @@ static int mbm_disable(struct ofono_modem *modem) g_at_chat_unref(data->chat); data->chat = NULL; - return 0; + return -EINPROGRESS; } static void mbm_pre_sim(struct ofono_modem *modem) |