Commit d3c6299
Bastien Nocera
Bluetooth: MGMT: Fix Add Device to responding before completing
JIRA: https://issues.redhat.com/browse/RHEL-74483
commit a182d9c
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: Mon Nov 25 15:42:10 2024 -0500
Bluetooth: MGMT: Fix Add Device to responding before completing
Add Device with LE type requires updating resolving/accept list which
requires quite a number of commands to complete and each of them may
fail, so instead of pretending it would always work this checks the
return of hci_update_passive_scan_sync which indicates if everything
worked as intended.
Fixes: e8907f7 ("Bluetooth: hci_sync: Make use of hci_cmd_sync_queue set 3")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Bastien Nocera <bnocera@redhat.com>1 parent 9a1cd25 commit d3c6299
1 file changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7656 | 7656 | | |
7657 | 7657 | | |
7658 | 7658 | | |
| 7659 | + | |
| 7660 | + | |
| 7661 | + | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
| 7665 | + | |
| 7666 | + | |
| 7667 | + | |
| 7668 | + | |
| 7669 | + | |
| 7670 | + | |
| 7671 | + | |
| 7672 | + | |
| 7673 | + | |
| 7674 | + | |
| 7675 | + | |
| 7676 | + | |
7659 | 7677 | | |
7660 | 7678 | | |
7661 | 7679 | | |
| |||
7664 | 7682 | | |
7665 | 7683 | | |
7666 | 7684 | | |
| 7685 | + | |
7667 | 7686 | | |
7668 | 7687 | | |
7669 | 7688 | | |
| |||
7744 | 7763 | | |
7745 | 7764 | | |
7746 | 7765 | | |
7747 | | - | |
7748 | | - | |
| 7766 | + | |
| 7767 | + | |
| 7768 | + | |
7749 | 7769 | | |
| 7770 | + | |
| 7771 | + | |
| 7772 | + | |
| 7773 | + | |
| 7774 | + | |
| 7775 | + | |
| 7776 | + | |
| 7777 | + | |
| 7778 | + | |
| 7779 | + | |
| 7780 | + | |
| 7781 | + | |
| 7782 | + | |
| 7783 | + | |
7750 | 7784 | | |
7751 | 7785 | | |
7752 | 7786 | | |
| |||
0 commit comments