aboutsummaryrefslogtreecommitdiff
path: root/plugins/mm-modem-hso.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-11-10 13:16:19 -0600
committerDan Williams <dcbw@redhat.com>2010-11-10 13:16:19 -0600
commit802a6f3a564d981f06042af0a3f36212805f599f (patch)
tree7aae0d5d3dd7d8bb3df35c7fa3ed6830a3e2d947 /plugins/mm-modem-hso.c
parentbda86f553aefadb18a3dfa5795f1345c40a19738 (diff)
gsm: fix up CID signed/unsigned confusion
-1 = no APN set, so use modem default. We'll have to fix a few more things up for modems like hso/mbm that don't use ATDT and require CIDs, but this gets us halfway there for other devices.
Diffstat (limited to 'plugins/mm-modem-hso.c')
-rw-r--r--plugins/mm-modem-hso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mm-modem-hso.c b/plugins/mm-modem-hso.c
index 81fe51a7..ff0264ad 100644
--- a/plugins/mm-modem-hso.c
+++ b/plugins/mm-modem-hso.c
@@ -431,7 +431,7 @@ unsolicited_disable_done (MMModem *modem,
}
/* Otherwise, kill any existing connection */
- if (mm_generic_gsm_get_cid (MM_GENERIC_GSM (modem)) >= 0)
+ if (hso_get_cid (MM_MODEM_HSO (modem)) >= 0)
hso_call_control (MM_MODEM_HSO (modem), FALSE, TRUE, disable_done, info);
else
disable_done (modem, NULL, info);