From 0f6d1b2b42afe48583c9c3e7c159be4353462d86 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 6 Jul 2011 13:15:42 -0500 Subject: [PATCH] nokia: N900 doesn't really need additional inter-character time See 46d757faa768db7d7bb23d51cc2af3196f7a7e30: gsm: send init command twice to make the N900 happy (rh #583691) (lp:765516) for what I think is the real workaround for this bug. --- plugins/mm-modem-nokia.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/mm-modem-nokia.c b/plugins/mm-modem-nokia.c index 56b8c919..56f4c1b7 100644 --- a/plugins/mm-modem-nokia.c +++ b/plugins/mm-modem-nokia.c @@ -58,7 +58,6 @@ grab_port (MMModem *modem, MMGenericGsm *gsm = MM_GENERIC_GSM (modem); MMPortType ptype = MM_PORT_TYPE_IGNORED; MMPort *port = NULL; - gulong send_delay = 5000; if (suggested_type == MM_PORT_TYPE_UNKNOWN) { if (!mm_generic_gsm_get_at_port (gsm, MM_PORT_TYPE_PRIMARY)) @@ -76,9 +75,6 @@ grab_port (MMModem *modem, mm_serial_parser_v1_e1_destroy); } - /* N900 appears to need longer delay between port bytes */ - g_object_set (G_OBJECT (port), MM_SERIAL_PORT_SEND_DELAY, send_delay, NULL); - return !!port; }