Skip to content

Commit

Permalink
NFC: st-nci: Increase delay between 2 secure element activations
Browse files Browse the repository at this point in the history
After internal discussion, it appears this timing should be
increased to 20 ms for interoperability reason.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
cricard13 authored and Samuel Ortiz committed Oct 27, 2015
1 parent 3648dc6 commit 0652105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nfc/st-nci/se.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx,
*/
if (info->se_info.se_status->is_ese_present &&
info->se_info.se_status->is_uicc_present)
usleep_range(3000, 5000);
usleep_range(15000, 20000);

r = nci_hci_get_param(ndev, NCI_HCI_ADMIN_GATE,
NCI_HCI_ADMIN_PARAM_HOST_LIST, &sk_host_list);
Expand Down

0 comments on commit 0652105

Please sign in to comment.