With this patch gattrib track all the pending request id's to bt_att. When doing g_attrib_cancel_all, only those own by gattrib will be canceled.
acc2f8e attrib/gattrib: Add tracking all the internal request id
attrib/gattrib.c | 96 ++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 53 deletions(-)
Upstream: git.kernel.org