aboutsummaryrefslogtreecommitdiff
path: root/plugins/nokia/mm-plugin-nokia.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-11 06:53:56 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:46 +0200
commit9b0f6c83f2e34620c99a7d3b2c945ef92314369a (patch)
treed803252cbcfbf253c5dbc61dc007d2e68e4501aa /plugins/nokia/mm-plugin-nokia.c
parent89b3c0132879157c16526ae7da1aa3cdefe64fe8 (diff)
plugin: renamed `custom-init' property to `custom-at-probe'
The `custom-at-probe' property is just to modify the way we check for AT port support.
Diffstat (limited to 'plugins/nokia/mm-plugin-nokia.c')
-rw-r--r--plugins/nokia/mm-plugin-nokia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/nokia/mm-plugin-nokia.c b/plugins/nokia/mm-plugin-nokia.c
index 53480d10..101c7a62 100644
--- a/plugins/nokia/mm-plugin-nokia.c
+++ b/plugins/nokia/mm-plugin-nokia.c
@@ -30,9 +30,9 @@ int mm_plugin_major_version = MM_PLUGIN_MAJOR_VERSION;
int mm_plugin_minor_version = MM_PLUGIN_MINOR_VERSION;
/*****************************************************************************/
-/* CUSTOM INIT */
+/* Custom commands for AT probing */
-static const MMPortProbeAtCommand custom_init[] = {
+static const MMPortProbeAtCommand custom_at_probe[] = {
{ "ATE1 E0", 3, mm_port_probe_response_processor_is_at },
{ "ATE1 E0", 3, mm_port_probe_response_processor_is_at },
{ "ATE1 E0", 3, mm_port_probe_response_processor_is_at },
@@ -104,7 +104,7 @@ mm_plugin_create (void)
MM_PLUGIN_NAME, "Nokia",
MM_PLUGIN_ALLOWED_SUBSYSTEMS, subsystems,
MM_PLUGIN_ALLOWED_VENDOR_IDS, vendor_ids,
- MM_PLUGIN_CUSTOM_INIT, custom_init,
+ MM_PLUGIN_CUSTOM_AT_PROBE, custom_at_probe,
MM_PLUGIN_ALLOWED_SINGLE_AT, TRUE, /* only 1 AT port expected! */
NULL));
}