Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH RESEND 1/1 Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
From: Luiz Augusto von Dentz <[email protected]>
This ignores errors from HCI_OP_REMOTE_NAME_REQ_CANCEL since it shouldn't interfere with the stopping of discovery and in certain conditions it seems to be failing.
--- net/bluetooth/hci_sync.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
net/bluetooth/hci_sync.c +4 -1
@@ -5380,7 +5380,10 @@ int hci_stop_discovery_sync(struct hci_dev *hdev)if (!e)return 0 ; -return hci_remote_name_cancel_sync (hdev, &e->data.bdaddr); +/* Ignore cancel errors since it should interfere with stopping +* of the discovery. +*/ +hci_remote_name_cancel_sync (hdev, &e->data.bdaddr); }return 0 ;
Signature · 1 line
2.46.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 10 lines · On Mon, 9 Sep 2024 15:44:43 -0400 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
This ignores errors from
HCI_OP_REMOTE_NAME_REQ_CANCELsince it shouldn't interfere with the stopping of discovery and in certain conditions it seems to be failing.Signed-off-by Luiz Augusto von Dentz <[email protected]>[...]
Here is the summary with links:
- [RESEND,v1] Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
https://git.kernel.org/bluetooth/bluetooth-next/c/fd8c0f820825
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html