shared/gatt-client: Make use of bt_att_resend
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 4 Oct 2021 21:16:00 +0000 (14:16 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commitafddf2f2f162038a12e52ea02d4f8b1ec5a409ef
tree124e582c20e36d4a4418981e0e5a034a64966bd7
parenta6265a31e8607bc74cf0552e246a824fc0b0cada
shared/gatt-client: Make use of bt_att_resend

This makes use of bt_att_resend when sending continuation of PDUs such
as BT_ATT_OP_READ_BLOB_REQ and BT_ATT_OP_PREP_WRITE_REQ to avoid having
it interleave with other procedures, which is both simpler for the
peripheral to handle as well as it should reduce the lifetime of the
objects used for tracking the state of these procedures.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/shared/gatt-client.c