NFC: Increase NCI deactivate timeout
authorIlan Elias <ilane@ti.com>
Sun, 8 Jan 2012 11:43:02 +0000 (13:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:08:39 +0000 (14:08 -0500)
Increase NCI deactivate timeout from 5 sec to 30 sec.
NCI deactivate procedure might take a long time,
depending on the local and remote parameters.

Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/nfc/nci_core.h

index bccd89e9d4c2702851895f4ce9f1ff14729f2ed5..f4963ea77947b7410c4924abe516641f87d12040 100644 (file)
@@ -47,7 +47,7 @@ enum {
 #define NCI_RESET_TIMEOUT                      5000
 #define NCI_INIT_TIMEOUT                       5000
 #define NCI_RF_DISC_TIMEOUT                    5000
-#define NCI_RF_DEACTIVATE_TIMEOUT              5000
+#define NCI_RF_DEACTIVATE_TIMEOUT              30000
 #define NCI_CMD_TIMEOUT                                5000
 
 struct nci_dev;