diff options
author | Dan Williams <dcbw@redhat.com> | 2009-10-30 16:16:36 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-10-30 16:16:36 -0700 |
commit | 678f07a1e28e0b7bb74319418c215e9e5ed9b8bb (patch) | |
tree | 624ed5abeb1fd0646722eaf9bc2ddd7066ec2a5c | |
parent | 4e74953b9159de688a05bd8abcb90204d08aaff2 (diff) |
gobi: don't override generic init commands
The default ones seem to work just fine.
-rw-r--r-- | plugins/mm-modem-gobi-gsm.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/mm-modem-gobi-gsm.c b/plugins/mm-modem-gobi-gsm.c index 8b8370ca..7ea9f8f4 100644 --- a/plugins/mm-modem-gobi-gsm.c +++ b/plugins/mm-modem-gobi-gsm.c @@ -103,39 +103,7 @@ mm_modem_gobi_gsm_init (MMModemGobiGsm *self) } static void -get_property (GObject *object, guint prop_id, - GValue *value, GParamSpec *pspec) -{ - - /* These devices just don't implement AT+CFUN */ - - switch (prop_id) { - case MM_GENERIC_GSM_PROP_INIT_CMD: - g_value_set_string (value, "Z E0 V1 +CMEE=1"); - break; - default: - break; - } -} - -static void -set_property (GObject *object, guint prop_id, - const GValue *value, GParamSpec *pspec) -{ -} - -static void mm_modem_gobi_gsm_class_init (MMModemGobiGsmClass *klass) { - GObjectClass *object_class = G_OBJECT_CLASS (klass); - - mm_modem_gobi_gsm_parent_class = g_type_class_peek_parent (klass); - - object_class->get_property = get_property; - object_class->set_property = set_property; - - g_object_class_override_property (object_class, - MM_GENERIC_GSM_PROP_INIT_CMD, - MM_GENERIC_GSM_INIT_CMD); } |