From 678f07a1e28e0b7bb74319418c215e9e5ed9b8bb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 30 Oct 2009 16:16:36 -0700 Subject: gobi: don't override generic init commands The default ones seem to work just fine. --- plugins/mm-modem-gobi-gsm.c | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'plugins/mm-modem-gobi-gsm.c') 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 @@ -102,40 +102,8 @@ 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); } -- cgit v1.2.3-70-g09d2