diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-07-22 21:00:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-06 20:07:50 +0200 |
commit | f6415a71b6ee3998b144393c3c4facdb7a77c545 (patch) | |
tree | 6c99e5de6f3c339f662d111c9aa06926b0ab4ccb /src/mm-plugin-manager.c | |
parent | 1811bb015c79b319c517d0bd23ae04899d2bc981 (diff) |
device: keep all unsupported ports in a separate list
Ports being marked as unsupported should not be passed to the plugin specific
create_modem() or grab_port() methods.
Diffstat (limited to 'src/mm-plugin-manager.c')
-rw-r--r-- | src/mm-plugin-manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c index afc41737..c4ec8649 100644 --- a/src/mm-plugin-manager.c +++ b/src/mm-plugin-manager.c @@ -138,6 +138,9 @@ port_probe_context_finished (PortProbeContext *port_probe_ctx) g_udev_device_get_subsystem (port_probe_ctx->port), g_udev_device_get_name (port_probe_ctx->port)); + /* Tell the device to ignore this port */ + mm_device_ignore_port (ctx->device, port_probe_ctx->port); + /* If this is the last valid probe which was running (i.e. the last one * not being deferred-until-suggested), cancel all remaining ones. */ cancel_remaining = TRUE; |