Skip to content

Bluetooth: Further LE scanning fixes & cleanups

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Bluetooth: Fix missing return statement in process_adv_reportnet/bluetooth/hci_event.c+1 -00 replies
2/12Bluetooth: Convert pend_le_conn list to a generic action listinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+6 -60 replies
3/12Bluetooth: Convert pend_le_reports into a listinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/hci_event.c +1 more+15 -100 replies
4/12Bluetooth: Simplify use of hci_pend_le_conns_clear()net/bluetooth/hci_core.c+4 -60 replies
5/12Bluetooth: Don't bother doing anything if auto_connect doesn't changenet/bluetooth/hci_core.c+3 -00 replies
6/12Bluetooth: Simplify hci_conn_params->action list usagenet/bluetooth/hci_core.c net/bluetooth/hci_event.c net/bluetooth/mgmt.c+17 -230 replies
7/12Bluetooth: Remove unused hci_pend_le_conn_del() functioninclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+0 -110 replies
8/12Bluetooth: Fix clearing and restarting all LE actions on power cycleinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/mgmt.c+28 -290 replies
9/12Bluetooth: Remove unnecessary usage of hci_pend_le_conn_addnet/bluetooth/hci_event.c+3 -10 replies
10/12Bluetooth: Remove unused hci_pend_le_conn_add functioninclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c+0 -110 replies
11/12Bluetooth: Make hci_pend_le_conn_lookup more general purposedinclude/net/bluetooth/hci_core.h net/bluetooth/hci_core.c net/bluetooth/hci_event.c+7 -60 replies
12/12Bluetooth: Use hci_pend_le_action_lookup to look up report entriesnet/bluetooth/hci_event.c+3 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] Bluetooth: Further LE scanning fixes & cleanups

Hi,

Here's another set of patches to fix and clean up various things with LE scanning. The core part of these changes are related to unifuing the list usage for the various types of connection parameter entries.

Johan

----------------------------------------------------------------
Johan Hedberg (12):
Bluetooth: Fix missing return statement in process_adv_report
Bluetooth: Convert pend_le_conn list to a generic action list
Bluetooth: Convert pend_le_reports into a list
Bluetooth: Simplify use of hci_pend_le_conns_clear()
Bluetooth: Don't bother doing anything if auto_connect doesn't change
Bluetooth: Simplify hci_conn_params->action list usage
Bluetooth: Remove unused hci_pend_le_conn_del() function
Bluetooth: Fix clearing and restarting all LE actions on power cycle
Bluetooth: Remove unnecessary usage of hci_pend_le_conn_add
Bluetooth: Remove unused hci_pend_le_conn_add function
Bluetooth: Make hci_pend_le_conn_lookup more general purposed
Bluetooth: Use hci_pend_le_action_lookup to look up report entries

 include/net/bluetooth/hci_core.h | 12 ++---
 net/bluetooth/hci_core.c         | 93 ++++++++++++++----------------------
 net/bluetooth/hci_event.c        | 21 ++++----
 net/bluetooth/mgmt.c             | 41 ++++++++--------
 4 files changed, 73 insertions(+), 94 deletions(-)