Skip to content
Commit f032cfab authored by Ray Strode's avatar Ray Strode Committed by Gerd Hoffmann
Browse files

libcacard: introduce new vcard_emul_logout



vcard_emul_reset currently only logs NSS out, but there is a TODO
for potentially sending insertion/removal events when powering down
or powering up.

For clarity, this commit moves the current guts of vcard_emul_reset to
a new vcard_emul_logout function which will never send insertion/removal
events. The vcard_emul_reset function now just calls vcard_emul_logout,
but also retains its TODO for watching power state transitions and sending
insertion/removal events.

Signed-off-by: default avatarRay Strode <rstrode@redhat.com>
Reviewed-By: default avatarRobert Relyea <rrelyea@redhat.com>
Reviewed-By: default avatarAlon Levy <alevy@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 3e9418e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment