diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-02-11 20:29:58 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-02-12 11:53:17 +0100 |
commit | b5452c877ae96679c425ab97dff394b2840b6e82 (patch) | |
tree | 2eebfe54a394aa406bbb4251332e9e6ac1a73be6 /gtk/channel-smartcard.c | |
parent | d35f58249742caf1ace0fff5bde770871fbbd676 (diff) |
usb-device-manager: Fix coldplug race
It is possible for us to see a device show up twice, if it gets plugged
in between us starting listening for new devices and doing "coldplug", then
it will get added once from the coldplug code, and then again from from
the hotplug code path. We already have code checking for this, but the check
is only compiled in under Windows -> Remove the #ifdef to also catch this
under Linux.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'gtk/channel-smartcard.c')
0 files changed, 0 insertions, 0 deletions