2010-08-25 22:35:11

by haijun liu

[permalink] [raw]
Subject: [PATCH 11/22] Add two timeout values for configuration process

>From 92a177d2d601c4ed502d3b1f618dfbe3084d01cb Mon Sep 17 00:00:00 2001
From: haijun.liu <[email protected]>
Date: Sun, 22 Aug 2010 23:55:44 +0800
Subject: [PATCH 11/22] Add two timeout values for configuration process.

---
include/net/bluetooth/l2cap.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/net/bluetooth/l2cap.h b/include/net/bluetooth/l2cap.h
index 4a18567..fe411e2 100644
--- a/include/net/bluetooth/l2cap.h
+++ b/include/net/bluetooth/l2cap.h
@@ -38,6 +38,8 @@
#define L2CAP_LOCAL_BUSY_TRIES 12

#define L2CAP_CONN_TIMEOUT (40000) /* 40 seconds */
+#define L2CAP_CONFIG_TIMEOUT (40000) /* 40 seconds */
+#define L2CAP_PENDING_TIMEOUT (120000) /* 120 seconds */
#define L2CAP_INFO_TIMEOUT (4000) /* 4 seconds */

/* L2CAP socket address */
--
1.6.3.3