diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-10 11:48:02 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:06:45 +0200 |
commit | a9075b0c09eb999eb64fda70154e055a9d0edb1d (patch) | |
tree | f5f7213a440d29914a039e94d07fb069230f8938 /plugins/option | |
parent | e5e46f489e9d89bdecb4c4948b0d9627e33555cc (diff) |
port-probe: rename _get_port() to _peek_port() as there is no ownership transfer
Diffstat (limited to 'plugins/option')
-rw-r--r-- | plugins/option/mm-plugin-hso.c | 2 | ||||
-rw-r--r-- | plugins/option/mm-plugin-option.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-plugin-hso.c b/plugins/option/mm-plugin-hso.c index f80540a5..9d8cdca1 100644 --- a/plugins/option/mm-plugin-hso.c +++ b/plugins/option/mm-plugin-hso.c @@ -60,7 +60,7 @@ grab_port (MMPlugin *self, gchar *devfile; MMPortType port_type; - port = mm_port_probe_get_port (probe); /* transfer none */ + port = mm_port_probe_peek_port (probe); subsys = mm_port_probe_get_port_subsys (probe); name = mm_port_probe_get_port_name (probe); diff --git a/plugins/option/mm-plugin-option.c b/plugins/option/mm-plugin-option.c index 5cff84fa..02394297 100644 --- a/plugins/option/mm-plugin-option.c +++ b/plugins/option/mm-plugin-option.c @@ -66,7 +66,7 @@ grab_port (MMPlugin *self, return FALSE; } - port = mm_port_probe_get_port (probe); /* transfer none */ + port = mm_port_probe_peek_port (probe); /* Genuine Option NV devices are always supposed to use USB interface 0 as * the modem/data port, per mail with Option engineers. Only this port |