mbox series

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

Message ID 20220610191934.2723772-1-jiangzp@google.com
Headers show
Series Fix refresh cached connection info | expand

Message

Zhengping Jiang June 10, 2022, 7:19 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(-)