diff options
author | Michael Biebl <biebl@debian.org> | 2011-08-07 01:47:27 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:38:27 +0100 |
commit | 95e75c9fd39d5c16c79add762ca578e0360509d6 (patch) | |
tree | 2f09dec06f41503d32a3deade89123ba3ce267c2 /plugins/mm-modem-samsung-gsm.c | |
parent | 59ed3390b9a798ff8bf9133cbc28c4539ad99f42 (diff) | |
parent | a09050a7f63a262bf90dcb1c7a41f9cfd205db43 (diff) |
Imported Debian patch 0.5-1debian/0.5-1
Diffstat (limited to 'plugins/mm-modem-samsung-gsm.c')
-rwxr-xr-x | plugins/mm-modem-samsung-gsm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/mm-modem-samsung-gsm.c b/plugins/mm-modem-samsung-gsm.c index d873653..f2d339b 100755 --- a/plugins/mm-modem-samsung-gsm.c +++ b/plugins/mm-modem-samsung-gsm.c @@ -478,8 +478,12 @@ disable (MMModem *modem, primary = mm_generic_gsm_get_at_port (MM_GENERIC_GSM (modem), MM_PORT_TYPE_PRIMARY); g_assert (primary); - /* Random command to ensure unsolicited message disable completes */ - mm_at_serial_port_queue_command (primary, "AT+CFUN=0", 5, disable_unsolicited_done, info); + /* + * Command to ensure unsolicited message disable completes. + * Turns the radios off, which seems like a reasonable + * think to do when disabling. + */ + mm_at_serial_port_queue_command (primary, "AT+CFUN=4", 5, disable_unsolicited_done, info); } static void |