Skip to content
Commit b83b9bed authored by Jonathan Rico's avatar Jonathan Rico Committed by Johan Hedberg
Browse files

Bluetooth: ATT: call-back on buffer destroy



This is just as arbitrary as what was before, but simpler.

Before this change, the callback were invoked upon receiving the num
complete packets event.
This did not necessarily work with all spec-compliant controllers.

Now the callback is invoked as soon as the lower layer destroys the
buffer. ATT shouldn't care whether L2CAP sends it over RFC1149 or
something else after that point.

Signed-off-by: default avatarJonathan Rico <jonathan.rico@nordicsemi.no>
Co-authored-by: default avatarAleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
parent a05a4757
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment