From 4ed33918593b7c902d70e55f65c1442e6fec9589 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 6 Jun 2011 13:32:50 +0200 Subject: [PATCH] iridium: PS network is not supported --- plugins/mm-modem-iridium-gsm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/mm-modem-iridium-gsm.c b/plugins/mm-modem-iridium-gsm.c index 0507a3f0..b8b700c2 100644 --- a/plugins/mm-modem-iridium-gsm.c +++ b/plugins/mm-modem-iridium-gsm.c @@ -265,6 +265,10 @@ get_property (GObject *object, */ g_value_set_string (value, "+CPMS=\"SM\",\"SM\",\"SM\""); break; + case MM_GENERIC_GSM_PROP_PS_NETWORK_SUPPORTED: + /* We do not support PS network in Iridium, only CS */ + g_value_set_boolean (value, FALSE); + break; default: break; } @@ -314,6 +318,10 @@ mm_modem_iridium_gsm_class_init (MMModemIridiumGsmClass *klass) MM_GENERIC_GSM_PROP_SMS_STORAGE_LOCATION_CMD, MM_GENERIC_GSM_SMS_STORAGE_LOCATION_CMD); + g_object_class_override_property (object_class, + MM_GENERIC_GSM_PROP_PS_NETWORK_SUPPORTED, + MM_GENERIC_GSM_PS_NETWORK_SUPPORTED); + gsm_class->get_access_technology = get_access_technology; gsm_class->set_allowed_mode = set_allowed_mode; gsm_class->get_allowed_mode = get_allowed_mode;