Bluetooth: Fix mgmt cmd_complete events
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] Bluetooth: Fix mgmt cmd_complete events
Hi,
This patch set introduces an optional callback that can be set for pending mgmt commands so that the generic places sending out these events (powering off and removing adapters) can send out correct events as specified in our mgmt-api.txt. A further benefit of having this callback is that we fix memory leaks caused by hci_conn pointers being stored as part of the pending command user data.
Johan
----------------------------------------------------------------
Johan Hedberg (10):
Bluetooth: Add callback to create proper cmd_complete events
Bluetooth: Store parameter length with pending mgmt commands
Bluetooth: Convert Disconnect mgmt command to use cmd_complete callback
Bluetooth: Use cmd_complete callback for authentication mgmt commands
Bluetooth: Convert Pair Device to use cmd_complete callback
Bluetooth: Convert Unpair Device to use cmd_complete callback
Bluetooth: Convert discovery commands to use cmd_complete callback
Bluetooth: Convert Get Clock Info to use cmd_complete callback
Bluetooth: Fix initializing hci_conn RSSI to invalid value
Bluetooth: Fix Get Conn Info to use cmd_complete callback
net/bluetooth/hci_conn.c | 1 + net/bluetooth/mgmt.c | 271 ++++++++++++++++++++++----------------------- 2 files changed, 136 insertions(+), 136 deletions(-)