diff options
author | Dan Williams <dcbw@redhat.com> | 2009-10-14 13:47:21 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-10-14 13:47:21 -0700 |
commit | 3d86a3e89a18ccd98b9f65b389f70ba19f100004 (patch) | |
tree | 8ef8db669709f70e71da4ad60ab697d75b0d1e94 | |
parent | ea29dc8044e649f59f47442a40b999f7998994ab (diff) |
gsm: don't issue CFUN=0 by default
Let plugins do it when they know it's OK.
-rw-r--r-- | src/mm-generic-gsm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index 3becf7f6..155c20cc 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -1928,7 +1928,14 @@ get_property (GObject *object, guint prop_id, g_value_set_string (value, "+CFUN=1"); break; case MM_GENERIC_GSM_PROP_POWER_DOWN_CMD: - g_value_set_string (value, "+CFUN=0"); + /* CFUN=0 is dangerous and often will shoot devices in the head (that's + * what it's supposed to do). So don't use CFUN=0 by default, but let + * specific plugins use it when they know it's safe to do so. For + * example, CFUN=0 will often make phones turn themselves off, but some + * dedicated devices (ex Sierra WWAN cards) will just turn off their + * radio but otherwise still work. + */ + g_value_set_string (value, ""); break; case MM_GENERIC_GSM_PROP_INIT_CMD: g_value_set_string (value, "Z E0 V1 X4 &C1 +CMEE=1"); |