Remove the PPP option from gsmdial

Pointless since we should always connect using PPP
This commit is contained in:
Denis Kenzior 2010-04-02 15:13:25 -05:00
parent 2c466c8baf
commit 349d4d8c5d
1 changed files with 0 additions and 6 deletions

View File

@ -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,