Commit 6eb5fcc
committed
Bluetooth: MGMT: Fix failing to MGMT_OP_ADD_UUID/MGMT_OP_REMOVE_UUID
These commands don't require the adapter to be up and running so don't
use hci_cmd_sync_queue which would check that flag, instead use
hci_cmd_sync_submit which would ensure mgmt_class_complete is set
properly regardless if any command was actually run or not.
Link: bluez/bluez#809
Fixes: d883a46 ("Bluetooth: hci_sync: Only allow hci_cmd_sync_queue if running")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 32868e1 commit 6eb5fcc
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2623 | 2623 | | |
2624 | 2624 | | |
2625 | 2625 | | |
2626 | | - | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
2627 | 2631 | | |
2628 | 2632 | | |
2629 | 2633 | | |
| |||
2717 | 2721 | | |
2718 | 2722 | | |
2719 | 2723 | | |
2720 | | - | |
2721 | | - | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
2722 | 2729 | | |
2723 | 2730 | | |
2724 | 2731 | | |
| |||
2784 | 2791 | | |
2785 | 2792 | | |
2786 | 2793 | | |
2787 | | - | |
2788 | | - | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
2789 | 2799 | | |
2790 | 2800 | | |
2791 | 2801 | | |
| |||
0 commit comments