NFC: Set target nfcid1 for all HCI reader A targets
authorEric Lapuyade <eric.lapuyade@intel.com>
Thu, 12 Jul 2012 18:27:54 +0000 (20:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 12 Jul 2012 18:48:41 +0000 (14:48 -0400)
commit81b3039557faf1359f40494003aaade745de6c24
tree7eaccb11fcdb6ea7ff0c1ecb7de58dc8a5a3cdf8
parentfe020120cb863ba918c6d603345342a880272c4d
NFC: Set target nfcid1 for all HCI reader A targets

Without the discovered target nfcid1 and its length set properly, type 2
tags detection fails with the pn544 as it checks for them from
pn544_hci_complete_target_discovered().

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Reported-by: Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/hci/core.c