~ubuntu-branches/ubuntu/vivid/modemmanager/vivid-proposed

« back to all changes in this revision

Viewing changes to plugins/mm-modem-nokia.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-08-07 01:47:27 UTC
  • mfrom: (16.1.3 oneiric)
  • Revision ID: james.westby@ubuntu.com-20110807014727-ssze4jx65jrjltg9
Tags: 0.5-1
debian/rules: override dh_autoreconf in a nicer way so we don't have to
clean up manually afterwards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    MMGenericGsm *gsm = MM_GENERIC_GSM (modem);
59
59
    MMPortType ptype = MM_PORT_TYPE_IGNORED;
60
60
    MMPort *port = NULL;
61
 
    gulong send_delay = 5000;
62
61
 
63
62
    if (suggested_type == MM_PORT_TYPE_UNKNOWN) {
64
63
        if (!mm_generic_gsm_get_at_port (gsm, MM_PORT_TYPE_PRIMARY))
76
75
                                               mm_serial_parser_v1_e1_destroy);
77
76
    }
78
77
 
79
 
    /* N900 appears to need longer delay between port bytes */
80
 
    g_object_set (G_OBJECT (port), MM_SERIAL_PORT_SEND_DELAY, send_delay, NULL);
81
 
 
82
78
    return !!port;
83
79
}
84
80