mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Bluetooth: Disconnect ACL after 8sec when no service level connection.
Some Remote device disconnects service level connection but do not initiate ACL disconnect hence ACL connection remains alive for 40s. Reducing timer value to 8s as reconnection initated by remote device was rejected due to existing ACL connection. Change-Id: I26c2665bb9754ad08e3bc8d8a58f192c47c41764 CRs-Fixed: 337702 Signed-off-by: Rohit Singh <singhr@codeaurora.org>
This commit is contained in:
parent
120d95f5dd
commit
5649ab316c
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ static inline void hci_conn_put(struct hci_conn *conn)
|
|||
if (conn->state == BT_CONNECTED) {
|
||||
timeo = msecs_to_jiffies(conn->disc_timeout);
|
||||
if (!conn->out)
|
||||
timeo *= 20;
|
||||
timeo *= 4;
|
||||
} else
|
||||
timeo = msecs_to_jiffies(10);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue