diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-11-25 15:42:10 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 13:40:39 +0100 |
| commit | 1f88b531356607db278d566fb0ff3ac13dae0fd2 (patch) | |
| tree | e759270869493b7475a971b212bbbe08ea230f58 /drivers/bluetooth | |
| parent | ccc1ef188455affc53814f4b4c6ab24c74cf681a (diff) | |
| download | linux-1f88b531356607db278d566fb0ff3ac13dae0fd2.tar.gz linux-1f88b531356607db278d566fb0ff3ac13dae0fd2.tar.bz2 linux-1f88b531356607db278d566fb0ff3ac13dae0fd2.zip | |
Bluetooth: MGMT: Fix Add Device to responding before completing
[ Upstream commit a182d9c84f9c52fb5db895ecceeee8b3a1bf661e ]
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: e8907f76544f ("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: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions
