aboutsummaryrefslogtreecommitdiff
path: root/src/mm-manager.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2009-10-05 09:52:01 -0700
committerDan Williams <dcbw@redhat.com>2009-10-05 09:52:01 -0700
commit912b98723b2965b9aaf1f0328781a2730d7cc178 (patch)
treebb14053467b6551ac6b49b2cdf18f0183bd1a55e /src/mm-manager.c
parent3b19a85727458821f5df20153f8c04bc7717ba30 (diff)
parentaa78b5f5e5319e04f5b57f928bfab69dd4b93d88 (diff)
Merge commit 'origin/master' into enable-split
Diffstat (limited to 'src/mm-manager.c')
-rw-r--r--src/mm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-manager.c b/src/mm-manager.c
index a812c792..73189146 100644
--- a/src/mm-manager.c
+++ b/src/mm-manager.c
@@ -612,7 +612,7 @@ handle_uevent (GUdevClient *client,
/* We only care about tty/net devices when adding modem ports,
* but for remove, also handle usb parent device remove events
*/
- if (!strcmp (action, "add") && strcmp (subsys, "usb") !=0 )
+ if ((!strcmp (action, "add") || !strcmp (action, "move")) && strcmp (subsys, "usb") !=0 )
device_added (self, device);
else if (!strcmp (action, "remove"))
device_removed (self, device);