NFC: st-nci: Increase delay between 2 secure element activations
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:40 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 02:55:11 +0000 (03:55 +0100)
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>
drivers/nfc/st-nci/se.c

index 147e2d904c636956af89ba3bfb392540dbb96751..3059baa0f12f086cc2282d0b5ffcabfce32f1f00 100644 (file)
@@ -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);