Skip to content
Snippets Groups Projects
Commit c5a47f7e authored by Ludovic Rousseau's avatar Ludovic Rousseau
Browse files

Use TAG_IFD_DEVICE_REMOVED when the reader is removed

When a USB reader is removed then use the new IFD Handler tag
TAG_IFD_DEVICE_REMOVED to signal the fact to the driver.

RFRemoveReader() has a new "flags" parameter.
By default the value REMOVE_READER_NO_FLAG is used.

When the libudev hotplug mechanism detects that a USB device has been
removed then RFRemoveReader() is called with REMOVE_READER_FLAG_REMOVED.
RFRemoveReader() will then use TAG_IFD_DEVICE_REMOVED to tell the
driver that the device has been removed and that no communication with
the device should occur.
parent ba516815
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment