mbox series

[kernel,v1,0/1] Fix refresh cached connection info

Message ID 20220613214327.15866-1-jiangzp@google.com (mailing list archive)
Headers show
Series Fix refresh cached connection info | expand

Message

Zhengping Jiang June 13, 2022, 9:43 p.m. UTC
Get connection info will return error when using synchronous hci_sync
call to refresh the cached information when the data times out. This is
because the cmd->user_data was not set before the call, so it will fail
checking connection is still connected.

Changes in v1:
- Set connection data before calling hci_cmd_sync_queue

Zhengping Jiang (1):
  Bluetooth: mgmt: Fix refresh cached connection info

 net/bluetooth/mgmt.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org June 21, 2022, 7:30 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 13 Jun 2022 14:43:26 -0700 you wrote:
> Get connection info will return error when using synchronous hci_sync
> call to refresh the cached information when the data times out. This is
> because the cmd->user_data was not set before the call, so it will fail
> checking connection is still connected.
> 
> Changes in v1:
> - Set connection data before calling hci_cmd_sync_queue
> 
> [...]

Here is the summary with links:
  - [kernel,v1,1/1] Bluetooth: mgmt: Fix refresh cached connection info
    https://git.kernel.org/bluetooth/bluetooth-next/c/d9cc9d78ca85

You are awesome, thank you!