Message ID | 20221209010314.707606-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,1/5] shared/att: Fix not requeueing in the same channel | expand |
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Thu, 8 Dec 2022 17:03:10 -0800 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > If request needs to be resend due to change in the security use the > chan->queue otherwise it may end up using a different channel. > --- > src/shared/att.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Here is the summary with links: - [BlueZ,1/5] shared/att: Fix not requeueing in the same channel https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f8670f9aa0a0 - [BlueZ,2/5] shared/bap: Log error message if request cannot be sent https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=6b5b51392312 - [BlueZ,3/5] shared/bap: Read PAC Sink/Source if respective location is found (no matching commit) - [BlueZ,4/5] shared/gatt-db: Allow passing NULL to gatt_db_attribute_write https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=be9fc9222c03 - [BlueZ,5/5] shared/bap: Make bt_bap_pac_register to be per session (no matching commit) You are awesome, thank you!
diff --git a/src/shared/att.c b/src/shared/att.c index f7bef08bc169..b90af93ccbf8 100644 --- a/src/shared/att.c +++ b/src/shared/att.c @@ -799,8 +799,8 @@ static bool handle_error_rsp(struct bt_att_chan *chan, uint8_t *pdu, chan->pending_req = NULL; - /* Push operation back to request queue */ - return queue_push_head(att->req_queue, op); + /* Push operation back to channel queue */ + return queue_push_head(chan->queue, op); } static void handle_rsp(struct bt_att_chan *chan, uint8_t opcode, uint8_t *pdu,
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> If request needs to be resend due to change in the security use the chan->queue otherwise it may end up using a different channel. --- src/shared/att.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)