Skip to content

Bluetooth: Cleanups & fixes from the UPF

Johan Hedberg linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Bluetooth: Add le_addr_type() helper functionnet/bluetooth/mgmt.c+18 -380 replies
2/13Bluetooth: Add hci_conn_hash_lookup_le() helper functioninclude/net/bluetooth/hci_core.h+24 -00 replies
3/13Bluetooth: Use hci_conn_hash_lookup_le() when possiblenet/bluetooth/hci_conn.c net/bluetooth/hci_event.c net/bluetooth/mgmt.c+11 -110 replies
4/13Bluetooth: 6lowpan: Use hci_conn_hash_lookup_le() when possiblenet/bluetooth/6lowpan.c+1 -10 replies
5/13Bluetooth: Remove unnecessary indentation in unpair_device()net/bluetooth/mgmt.c+32 -230 replies
6/13Bluetooth: Disable auto-connection parameters when unpairingnet/bluetooth/mgmt.c+10 -00 replies
7/13Bluetooth: Introduce hci_req helper to abort a connectionnet/bluetooth/hci_request.c net/bluetooth/hci_request.h+90 -00 replies
8/13Bluetooth: Take advantage of connection abort helpersnet/bluetooth/hci_conn.c net/bluetooth/mgmt.c+11 -1040 replies
9/13Bluetooth: Remove redundant (and possibly wrong) flag clearingnet/bluetooth/smp.c+0 -10 replies
10/13Bluetooth: Make hci_disconnect() behave correctly for all statesnet/bluetooth/hci_conn.c+3 -80 replies
11/13Bluetooth: Add hdev helper variable to hci_le_create_connection_cancelnet/bluetooth/hci_conn.c+7 -60 replies
12/13Bluetooth: Remove unnecessary hci_explicit_connect_lookup functioninclude/net/bluetooth/hci_core.h net/bluetooth/hci_conn.c net/bluetooth/hci_core.c+3 -220 replies
13/13Bluetooth: Fix crash in SMP when unpairingnet/bluetooth/mgmt.c net/bluetooth/smp.c net/bluetooth/smp.h+30 -00 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/13] Bluetooth: Cleanups & fixes from the UPF

Hi,

Here's the left-over set of patches from the UPF which are not as critical as the other ones that were already applied. I didn't (yet) spend time sorting or splitting these more logically, but I decided to send what I have now to get an early review round for them.

Johan

----------------------------------------------------------------
Johan Hedberg (13):
Bluetooth: Add le_addr_type() helper function
Bluetooth: Add hci_conn_hash_lookup_le() helper function
Bluetooth: Use hci_conn_hash_lookup_le() when possible
Bluetooth: 6lowpan: Use hci_conn_hash_lookup_le() when possible
Bluetooth: Remove unnecessary indentation in unpair_device()
Bluetooth: Disable auto-connection parameters when unpairing
Bluetooth: Introduce hci_req helper to abort a connection
Bluetooth: Take advantage of connection abort helpers
Bluetooth: Remove redundant (and possibly wrong) flag clearing
Bluetooth: Make hci_disconnect() behave correctly for all states
Bluetooth: Add hdev helper variable to hci_le_create_connection_cancel
Bluetooth: Remove unnecessary hci_explicit_connect_lookup function
Bluetooth: Fix crash in SMP when unpairing

 include/net/bluetooth/hci_core.h |  27 ++++++-
 net/bluetooth/6lowpan.c          |   2 +-
 net/bluetooth/hci_conn.c         | 115 ++++++--------------------
 net/bluetooth/hci_core.c         |  17 ----
 net/bluetooth/hci_event.c        |   3 +-
 net/bluetooth/hci_request.c      |  86 ++++++++++++++++++++
 net/bluetooth/hci_request.h      |   4 +
 net/bluetooth/mgmt.c             | 164 ++++++++++++++++----------------------
 net/bluetooth/smp.c              |  27 ++++++-
 net/bluetooth/smp.h              |   1 +
 10 files changed, 236 insertions(+), 210 deletions(-)