aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-07-11 13:25:20 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-06 20:06:47 +0200
commitff8a962d990c53a0e901a96df4fc01211e4d1962 (patch)
tree3b84194c3d636ef6282d0d4bb1e446cf4f9af6c4 /src/mm-plugin.c
parent1ca46cc0ec2fd407f3c70dcac11279dec4cc61d8 (diff)
port-probe: let us peek the `MMDevice' owning the probe from the probe itself
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r--src/mm-plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index 681c1773..9dc84a4c 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -505,7 +505,7 @@ mm_plugin_supports_port (MMPlugin *self,
/* Need to launch new probing */
- probe = mm_device_get_port_probe (device, port);
+ probe = MM_PORT_PROBE (mm_device_get_port_probe (device, port));
g_assert (probe);
/* Before launching any probing, check if the port is a net device (which