]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFC: pn533: Add some polling entropy
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 3 Jul 2013 13:14:17 +0000 (15:14 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 13 Aug 2013 22:35:19 +0000 (00:35 +0200)
commitdfccd0f580445d176acea174175b3e6518cc91f7
tree9685d2c41e53be5b254bcaf26ccb54b116ea1ea5
parent46f793b0413cfb234ca4faf7e598f24967e1fd3b
NFC: pn533: Add some polling entropy

By not always starting the polling loop from the same modulation, we
avoid entering infinite loops where devices exporting 2 targets (on 2
different modulations) get the same target activated over and over.
If this target is not readable (e.g. a wallet emulating a tag), we will
stay in an error loop for ever.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c