mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +02:00
Revert "Bluetooth: Increase timeout for legacy pairing from 10 seconds to 40 seconds."
This reverts commit 1f39bbdd42.
This commit is contained in:
parent
d836dba21d
commit
2c568ed308
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user