summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/udev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/udev.c b/plugins/udev.c
index 75f8b6c9..0f2bad25 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -337,6 +337,8 @@ static void add_modem(struct udev_device *udev_device)
if (curpath == NULL)
return;
+ DBG("%s (%s)", curpath, driver);
+
g_hash_table_insert(devpath_list, g_strdup(curpath), g_strdup(devpath));
if (g_strcmp0(driver, "mbm") == 0)
@@ -366,6 +368,8 @@ static void remove_modem(struct udev_device *udev_device)
if (curpath == NULL)
return;
+ DBG("%s", curpath);
+
devpath = g_hash_table_lookup(devpath_list, curpath);
if (!devpath)
return;