port-probe: let us peek the `MMDevice' owning the probe from the probe itself

This commit is contained in:
Aleksander Morgado
2012-08-06 20:06:47 +02:00
parent 1ca46cc0ec
commit ff8a962d99
5 changed files with 58 additions and 13 deletions
+1 -1
View File
@@ -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