Bluetooth: Clean up hci_cb usage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Bluetooth: Add new hci_cb entries to the tail rather than the headnet/ | +1 | 0 replies | |
| 2/5 | Bluetooth: Convert hci_cb_list_lock to a mutexinclude/ net/ | +14 | 0 replies | |
| 3/5 | Bluetooth: Convert L2CAP security callback to use hci_cbinclude/ net/ | +16 | 0 replies | |
| 4/5 | Bluetooth: Convert connect_cfm to be triggered through hci_cbinclude/ net/ net/ +2 more | +55 | 0 replies | |
| 5/5 | Bluetooth: Convert disconn_cfm to be triggered through hci_cbinclude/ net/ net/ +2 more | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Bluetooth: Clean up hci_cb usage
Hi,
This set of patches cleans up the usage of the hci_cb list as well as the couple of unnecesasry layers of abstraction with hci_*_cb() calling hci_proto_*_cb() functions. These patches also pave the way for other modules, such as 6lowpan, to easily track the coming and going of connections, now that connect_cfm & disconn_cfm are accessible through the hci_cb list.
Johan
----------------------------------------------------------------
Johan Hedberg (5):
Bluetooth: Add new hci_cb entries to the tail rather than the head
Bluetooth: Convert hci_cb_list_lock to a mutex
Bluetooth: Convert L2CAP security callback to use hci_cb
Bluetooth: Convert connect_cfm to be triggered through hci_cb
Bluetooth: Convert disconn_cfm to be triggered through hci_cb
include/net/bluetooth/hci_core.h | 140 ++++++++++++------------------------ net/bluetooth/hci_conn.c | 6 +- net/bluetooth/hci_core.c | 12 ++-- net/bluetooth/hci_event.c | 38 +++++----- net/bluetooth/l2cap_core.c | 26 +++++-- net/bluetooth/sco.c | 21 +++++- 6 files changed, 113 insertions(+), 130 deletions(-)