Updated corresponding to - NFC_AR_00_6000_11.04.00_OpnSrc

This commit is contained in:
nxf24591
2020-08-07 13:58:19 +05:30
parent 25c57d3a9e
commit 8c5402967f
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ void rcv_prop_resp_status(const char * const buf)
static int send_nci_transceive(uint8_t *prop_cmd, size_t prop_cmd_size) {
int ret = 0;
unsigned int loop=0x03;
struct file filp;
struct file filp = {NULL};
int retry = 1;
pr_info("%s: Enter", __func__);
@@ -187,7 +187,7 @@ static int send_nci_transceive(uint8_t *prop_cmd, size_t prop_cmd_size) {
ret = pn544_dev_read(&filp, NULL,3, 0);
if(!ret)
break;
usleep_range(2000, 3000);
usleep_range(3500, 4000);
}
} while((retry-- >= 0) && ret == -ERESTARTSYS);

View File

@@ -79,7 +79,7 @@
#define DRAGON_NFC 1
#define SIG_NFC 44
#define MAX_BUFFER_SIZE 512
#define MAX_BUFFER_SIZE 554
#define MAX_SECURE_SESSIONS 1
/* This macro evaluates to 1 if the cold reset is requested by driver(SPI/UWB). */