mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
Revert "Bluetooth: Increase timeout for legacy pairing from 10 seconds to 40 seconds."
This reverts commit 1f39bbdd42.
This commit is contained in:
@@ -358,7 +358,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 *= 2;
|
||||
} else
|
||||
timeo = msecs_to_jiffies(10);
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user