From d5a43aa862cc527c5d3a86ba6ec9401c029547c0 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sat, 20 Jun 2009 10:49:09 -0400 Subject: udev: modem port refactor; convert 'hso' to udev Create a base MMPort class to handle both tty and net ports generically, and move plugins over to that. Also port the 'hso' plugin to udev. --- plugins/mm-plugin-gobi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mm-plugin-gobi.c') diff --git a/plugins/mm-plugin-gobi.c b/plugins/mm-plugin-gobi.c index 4d8229c8..128ba838 100644 --- a/plugins/mm-plugin-gobi.c +++ b/plugins/mm-plugin-gobi.c @@ -224,7 +224,7 @@ grab_port (MMPlugin *plugin, } sysfs_path = g_udev_device_get_sysfs_path (physdev); - if (!devfile) { + if (!sysfs_path) { g_set_error (error, 0, 0, "Could not get port's physical device sysfs path."); goto out; } -- cgit v1.2.3-70-g09d2