aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-10-22 11:06:48 -0500
committerDan Williams <dcbw@redhat.com>2010-10-22 11:06:48 -0500
commit7ae8ffe21b9e3bb350dac2f2d34d0711b3255d26 (patch)
tree83ee2518d8e349d383a3d58f4e82cc2666800b3a /src/mm-modem-helpers.h
parent328d2369a9dadfae786e4c524b5ff2fd0d1a9e17 (diff)
core: use hardware IDs as part of DeviceIdentifier
Pass the device's hardware IDs through modem creation and use them when calculating the device's identifier. Add a bunch of testcases for real hardware to ensure we don't break the device ID in the future unless we really want to.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r--src/mm-modem-helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h
index 03f6dec2..3843e7ad 100644
--- a/src/mm-modem-helpers.h
+++ b/src/mm-modem-helpers.h
@@ -59,8 +59,8 @@ gboolean mm_gsm_parse_cscs_support_response (const char *reply,
MMModemGsmAccessTech mm_gsm_string_to_access_tech (const char *string);
-char *mm_create_device_identifier (const char *vid,
- const char *pid,
+char *mm_create_device_identifier (guint vid,
+ guint pid,
const char *ati,
const char *ati1,
const char *gsn,