diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-manager.c b/src/mm-manager.c index 30acda37..8e3e92e4 100644 --- a/src/mm-manager.c +++ b/src/mm-manager.c @@ -951,7 +951,8 @@ 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 (action, "move")) && strcmp (subsys, "usb") !=0 ) + if ( (!strcmp (action, "add") || !strcmp (action, "move") || !strcmp (action, "change")) + && (strcmp (subsys, "usb") != 0)) device_added (self, device); else if (!strcmp (action, "remove")) device_removed (self, device); |