linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [kernel PATCH v1 0/1] Fix refresh cached connection info
@ 2022-06-10 19:19 Zhengping Jiang
  2022-06-10 19:19 ` [kernel PATCH v1 1/1] Bluetooth: mgmt: " Zhengping Jiang
  0 siblings, 1 reply; 3+ messages in thread
From: Zhengping Jiang @ 2022-06-10 19:19 UTC (permalink / raw)
  To: linux-bluetooth, marcel
  Cc: chromeos-bluetooth-upstreaming, Zhengping Jiang, Brian Gix,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Johan Hedberg,
	Luiz Augusto von Dentz, Paolo Abeni, linux-kernel, netdev


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(-)

-- 
2.36.1.476.g0c4daa206d-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [kernel PATCH v1 0/1] Fix refresh cached connection info
@ 2022-06-13 21:43 Zhengping Jiang
  2022-06-13 21:43 ` [kernel PATCH v1 1/1] Bluetooth: mgmt: " Zhengping Jiang
  0 siblings, 1 reply; 3+ messages in thread
From: Zhengping Jiang @ 2022-06-13 21:43 UTC (permalink / raw)
  To: linux-bluetooth, marcel
  Cc: chromeos-bluetooth-upstreaming, Zhengping Jiang, Brian Gix,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Johan Hedberg,
	Luiz Augusto von Dentz, Paolo Abeni, linux-kernel, netdev


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(-)

-- 
2.36.1.476.g0c4daa206d-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-13 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 19:19 [kernel PATCH v1 0/1] Fix refresh cached connection info Zhengping Jiang
2022-06-10 19:19 ` [kernel PATCH v1 1/1] Bluetooth: mgmt: " Zhengping Jiang
2022-06-13 21:43 [kernel PATCH v1 0/1] " Zhengping Jiang
2022-06-13 21:43 ` [kernel PATCH v1 1/1] Bluetooth: mgmt: " Zhengping Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).