diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2011-01-26 14:17:52 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-01-26 16:38:15 -0600 |
commit | 12c3cf6969714b2eca242c4616db23121ad8673a (patch) | |
tree | 46bed1ab70fd01b187537ce9567b5c2bb7374777 /drivers/stemodem | |
parent | 0be9e23a90e5862d7a006614129ac05f777c2838 (diff) |
voicecall: remove ofono_cug_option
Diffstat (limited to 'drivers/stemodem')
-rw-r--r-- | drivers/stemodem/voicecall.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c index ad505ffc..5210483a 100644 --- a/drivers/stemodem/voicecall.c +++ b/drivers/stemodem/voicecall.c @@ -180,8 +180,8 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) static void ste_dial(struct ofono_voicecall *vc, const struct ofono_phone_number *ph, - enum ofono_clir_option clir, enum ofono_cug_option cug, - ofono_voicecall_cb_t cb, void *data) + enum ofono_clir_option clir, ofono_voicecall_cb_t cb, + void *data) { struct voicecall_data *vd = ofono_voicecall_get_data(vc); struct cb_data *cbd = cb_data_new(cb, data); @@ -208,14 +208,6 @@ static void ste_dial(struct ofono_voicecall *vc, break; } - switch (cug) { - case OFONO_CUG_OPTION_DEFAULT: - break; - case OFONO_CUG_OPTION_INVOCATION: - strcat(buf, "G"); - break; - } - strcat(buf, ";"); if (g_at_chat_send(vd->chat, buf, none_prefix, |