diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-02 15:13:25 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-02 15:13:25 -0500 |
commit | 349d4d8c5deeb3927426e1993ec9e5f394cc3b67 (patch) | |
tree | 68347790a99399e6fff266e84d96963c9eced213 /gatchat/gsmdial.c | |
parent | 2c466c8baf5948d72abce63683d70c0777a9e289 (diff) | |
download | ofono-349d4d8c5deeb3927426e1993ec9e5f394cc3b67.tar.bz2 |
Remove the PPP option from gsmdial
Pointless since we should always connect using PPP
Diffstat (limited to 'gatchat/gsmdial.c')
-rw-r--r-- | gatchat/gsmdial.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gatchat/gsmdial.c b/gatchat/gsmdial.c index 4feac3b3..2446e18e 100644 --- a/gatchat/gsmdial.c +++ b/gatchat/gsmdial.c @@ -51,7 +51,6 @@ static gint option_cid = 0; static gchar *option_apn = NULL; static gint option_offmode = 0; static gboolean option_legacy = FALSE; -static gboolean option_ppp = FALSE; static gchar *option_username = NULL; static gchar *option_password = NULL; static gchar *option_pppdump = NULL; @@ -252,9 +251,6 @@ static void connect_cb(gboolean ok, GAtResult *result, gpointer user_data) exit(1); } - if (option_ppp == FALSE) - return; - /* get the data IO channel */ channel = g_at_chat_get_channel(modem); @@ -566,8 +562,6 @@ static GOptionEntry options[] = { "Specify CFUN offmode" }, { "legacy", 'l', 0, G_OPTION_ARG_NONE, &option_legacy, "Use ATD*99***<cid>#" }, - { "ppp", 'P', 0, G_OPTION_ARG_NONE, &option_ppp, - "Connect using PPP" }, { "username", 'u', 0, G_OPTION_ARG_STRING, &option_username, "Specify PPP username" }, { "password", 'w', 0, G_OPTION_ARG_STRING, &option_password, |