diff options
| author | Johan Hedberg <[email protected]> | 2015-10-16 07:07:51 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2015-10-16 07:24:41 +0000 |
| commit | 49c509220db990ad003060db2267b9bbb597cd94 (patch) | |
| tree | f771981f049df58235cd958fd99da531a583312c /net/switchdev/switchdev.c | |
| parent | Bluetooth: Fix reference counting for LE-scan based connections (diff) | |
| download | kernel-49c509220db990ad003060db2267b9bbb597cd94.tar.gz kernel-49c509220db990ad003060db2267b9bbb597cd94.zip | |
Bluetooth: Fix LE reconnection logic
We can't use hci_explicit_connect_lookup() since that would only cover
explicit connections, leaving normal reconnections completely
untouched. Not using it in turn means leaving out entries in
pend_le_reports.
To fix this and simplify the logic move conn params from the reports
list to the pend_le_conns list for the duration of an explicit
connect. Once the connect is complete move the params back to the
pend_le_reports list. This also means that the explicit connect lookup
function only needs to look into the pend_le_conns list.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
