[gnome-settings-daemon/gnome-3-20] smartcard-manager: complete activation task right away if no drivers



commit 4f0c24aa355f54365c561a535ae201cfb8ff9f30
Author: Ray Strode <rstrode redhat com>
Date:   Mon Apr 18 10:31:35 2016 -0400

    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

 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 e81ace2..fada4cc 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]