diff options
author | Ray Strode <rstrode@redhat.com> | 2016-04-18 10:31:35 -0400 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-04-19 10:57:47 +0200 |
commit | 4f0c24aa355f54365c561a535ae201cfb8ff9f30 (patch) | |
tree | 2cda54e648a7cee1239b78e6476bebd14d278d61 | |
parent | fc31097c5dd1302229a848ce89658c6928c258d1 (diff) | |
download | gnome-settings-daemon-4f0c24aa355f54365c561a535ae201cfb8ff9f30.tar.gz |
smartcard-manager: complete activation task right away if no drivers
Right now if we don't have any smartcard drivers, then the activation
task never completes.
This commit makes sure we mop up that case up front.
https://bugzilla.gnome.org/show_bug.cgi?id=765203
-rw-r--r-- | plugins/smartcard/gsd-smartcard-manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/smartcard/gsd-smartcard-manager.c b/plugins/smartcard/gsd-smartcard-manager.c index e81ace29..fada4cc6 100644 --- a/plugins/smartcard/gsd-smartcard-manager.c +++ b/plugins/smartcard/gsd-smartcard-manager.c @@ -569,6 +569,8 @@ activate_all_drivers_async (GsdSmartcardManager *self, } SECMOD_ReleaseReadLock (lock); + + try_to_complete_all_drivers_activation (task); } static gboolean |