summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2011-07-25 12:13:42 -0500
committerMartijn Coenen <maco@google.com>2011-07-25 12:24:53 -0500
commit3002430f96eb9c9f37806404e7dcfc944da383af (patch)
tree83708c742cbc1e4a1efafbf8fdecb5be064df943 /inc
parent0c4bea9e5f86bf697203d015fba298c217f858ec (diff)
downloadexternal_libnfc-nxp-3002430f96eb9c9f37806404e7dcfc944da383af.zip
external_libnfc-nxp-3002430f96eb9c9f37806404e7dcfc944da383af.tar.gz
external_libnfc-nxp-3002430f96eb9c9f37806404e7dcfc944da383af.tar.bz2
Increase number of LLCP sockets from 5 to 10.
We currently have 3 server sockets open (snep, npp, bluetooth); I found that when we traverse from snep to npp (as a fallback), then do bluetooth, we run out of sockets (NFCSTATUS_INSUFFICIENT_RESOURCES is returned on socket creation). This is because cleanup of the sockets is asynchronous and the previous 2 sockets may still be disconnecting. Increasing to 10 should be enough for ICS purposes. Change-Id: I803da4cbcc97e7c5b736bf7276d2bbb7136c6dc3
Diffstat (limited to 'inc')
-rw-r--r--inc/phNfcLlcpTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/phNfcLlcpTypes.h b/inc/phNfcLlcpTypes.h
index 3c555c2..2954d00 100644
--- a/inc/phNfcLlcpTypes.h
+++ b/inc/phNfcLlcpTypes.h
@@ -55,7 +55,7 @@
*
*/
/*@{*/
-#define PHFRINFC_LLCP_NB_SOCKET_MAX 5 /**< Max.number of simultaneous sockets */
+#define PHFRINFC_LLCP_NB_SOCKET_MAX 10 /**< Max.number of simultaneous sockets */
/*@}*/
/**