commit | 9f78191cc9f1b34c2e2afd7b554a83bf034092dd | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Wed Jun 28 12:15:53 2023 -0700 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Aug 11 11:43:02 2023 -0700 |
tree | f00351059ed7f3f6aa45ea80163ed9b885ed2a26 | |
parent | 04a51d616929eb96b7a3e547bc11d3bb46af2c9f [diff] |
Bluetooth: hci_conn: Always allocate unique handles This attempts to always allocate a unique handle for connections so they can be properly aborted by the likes of hci_abort_conn, so this uses the invalid range as a pool of unset handles that way if userspace is trying to create multiple connections at once each will be given a unique handle which will be considered unset. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>