Commit a182d9c
committed
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 <[email protected]>1 parent c2994b0 commit a182d9c
1 file changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7655 | 7655 | | |
7656 | 7656 | | |
7657 | 7657 | | |
| 7658 | + | |
| 7659 | + | |
| 7660 | + | |
| 7661 | + | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
| 7665 | + | |
| 7666 | + | |
| 7667 | + | |
| 7668 | + | |
| 7669 | + | |
| 7670 | + | |
| 7671 | + | |
| 7672 | + | |
| 7673 | + | |
| 7674 | + | |
| 7675 | + | |
7658 | 7676 | | |
7659 | 7677 | | |
7660 | 7678 | | |
| |||
7663 | 7681 | | |
7664 | 7682 | | |
7665 | 7683 | | |
| 7684 | + | |
7666 | 7685 | | |
7667 | 7686 | | |
7668 | 7687 | | |
| |||
7743 | 7762 | | |
7744 | 7763 | | |
7745 | 7764 | | |
7746 | | - | |
7747 | | - | |
| 7765 | + | |
| 7766 | + | |
| 7767 | + | |
7748 | 7768 | | |
| 7769 | + | |
| 7770 | + | |
| 7771 | + | |
| 7772 | + | |
| 7773 | + | |
| 7774 | + | |
| 7775 | + | |
| 7776 | + | |
| 7777 | + | |
| 7778 | + | |
| 7779 | + | |
| 7780 | + | |
| 7781 | + | |
| 7782 | + | |
7749 | 7783 | | |
7750 | 7784 | | |
7751 | 7785 | | |
| |||
0 commit comments