NFC: Handle pn544 continue activation
We need to send continue activation command to allow NFCIP-1 activation when a NFC target has been discovered in type A or type F reader gate. Signed-off-by: Arron Wang <arron.wang@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -263,7 +263,9 @@ int nfc_hci_target_discovered(struct nfc_hci_dev *hdev, u8 gate)
|
||||
break;
|
||||
}
|
||||
|
||||
targets->hci_reader_gate = gate;
|
||||
/* if driver set the new gate, we will skip the old one */
|
||||
if (targets->hci_reader_gate == 0x00)
|
||||
targets->hci_reader_gate = gate;
|
||||
|
||||
r = nfc_targets_found(hdev->ndev, targets, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user