]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Fix refresh cached connection info
authorZhengping Jiang <jiangzp@google.com>
Mon, 13 Jun 2022 21:43:27 +0000 (14:43 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:07:50 +0000 (17:07 -0700)
commite46e6fc90de9e77553bb5c3713c8f93941b688b5
treef1674a8c51d88d78b453e6c641f93e06bb27fe5e
parent2b91c3347b5b5b8991c5f80422260da0e55993c5
Bluetooth: mgmt: Fix refresh cached connection info

Set the connection data before calling get_conn_info_sync, so it can be
verified the connection is still connected, before refreshing cached
values.

Fixes: 04abe34323faa ("Bluetooth: hci_sync: Convert MGMT_OP_GET_CONN_INFO")
Signed-off-by: Zhengping Jiang <jiangzp@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c