Blame SOURCES/coolkey-1.1.0-fix-spurious-event.patch

5145a1
diff -up ./src/coolkey/slot.cpp.fix-spurious ./src/coolkey/slot.cpp
5145a1
--- ./src/coolkey/slot.cpp.fix-spurious	2014-09-26 15:31:17.277958895 -0700
5145a1
+++ ./src/coolkey/slot.cpp	2014-09-26 15:34:33.218313227 -0700
5145a1
@@ -1412,6 +1412,7 @@ SlotList::waitForSlotEvent(CK_FLAGS flag
5145a1
         #endif
5145a1
     } while ((status == CKYSUCCESS) ||
5145a1
        (CKYCardContext_GetLastError(context) == SCARD_E_TIMEOUT) ||
5145a1
+       (CKYCardContext_GetLastError(context) == SCARD_E_UNKNOWN_READER) ||
5145a1
        (CKYCardContext_GetLastError(context) == SCARD_E_READER_UNAVAILABLE) ||
5145a1
        (CKYCardContext_GetLastError(context) == SCARD_E_NO_SERVICE) ||
5145a1
        (CKYCardContext_GetLastError(context) == SCARD_E_SERVICE_STOPPED) );