diff options
author | Dan Williams <dcbw@redhat.com> | 2009-06-20 10:49:09 -0400 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-06-20 10:49:09 -0400 |
commit | d5a43aa862cc527c5d3a86ba6ec9401c029547c0 (patch) | |
tree | 0d5c4a4174adf8d31afae21f1abd835a3ae13470 /plugins/mm-plugin-gobi.c | |
parent | 73e536c3c35de6020b6b6a1aeb9deac522e21cb4 (diff) |
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.
Diffstat (limited to 'plugins/mm-plugin-gobi.c')
-rw-r--r-- | plugins/mm-plugin-gobi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |