aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-06-06 13:32:50 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-02-17 13:25:02 +0100
commit4ed33918593b7c902d70e55f65c1442e6fec9589 (patch)
tree1b9b92846b4c86e48e3d55efc53ca30a48dbe1aa
parent40512451cc839534833c2b9ea51432a50deb2211 (diff)
iridium: PS network is not supported
-rw-r--r--plugins/mm-modem-iridium-gsm.c8
1 files changed, 8 insertions, 0 deletions
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;