marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

The target returned by nfc_initiator_poll_target() is not set as current target. #265

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Retrieving a target with nfc_initiator_poll_target()
2. Checking its status with nfc_initiator_target_is_present()

This commit removed corresponding code (which was unreachable):
https://code.google.com/p/libnfc/source/detail?r=967f6e5623af485574d4caf7fd2c089
edcff32ad

I think the code was not actually dead but should be executed in case 1 and 2 
before returning.
(If this behavior is intended, the API lacks a function to set the current 
target to the one returned by nfc_initiator_poll_target().)

Original issue reported on code.google.com by bjoern.k...@googlemail.com on 25 Jan 2014 at 6:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e5c732e18125.

Original comment by romu...@libnfc.org on 28 Jan 2014 at 9:45