Bluetooth: hci_core: Fix calling mgmt_device_connected
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH v2 1/1 Bluetooth: hci_core: Fix calling mgmt_device_connected
From: Luiz Augusto von Dentz <[email protected]>
Since 61a939c68ee0 ("Bluetooth: Queue incoming ACL data until BT_CONNECTED state is reached") there is no long the need to call mgmt_device_connected as ACL data will be queued until BT_CONNECTED state.
--- net/bluetooth/hci_core.c | 2 -- 1 file changed, 2 deletions(-)
net/bluetooth/hci_core.c +0 -2
@@ -3792,8 +3792,6 @@ static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb)hci_dev_lock (hdev); conn =hci_conn_hash_lookup_handle (hdev, handle); -if (conn &&hci_dev_test_flag (hdev,HCI_MGMT )) -mgmt_device_connected (hdev, conn,NULL ,0 );hci_dev_unlock (hdev);if (conn) {
Signature · 1 line
2.47.0
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Mon, 11 Nov 2024 13:14:28 -0500 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
Since
61a939c68ee0("Bluetooth: Queue incoming ACL data untilBT_CONNECTEDstate is reached") there is no long the need to callmgmt_device_connectedas ACL data will be queued untilBT_CONNECTEDstate.[...]
Here is the summary with links:
- [v2] Bluetooth: hci_core: Fix calling mgmt_device_connected
https://git.kernel.org/bluetooth/bluetooth-next/c/48adce305dc6
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html