Commit 1cd8339
[nrf fromtree] Bluetooth: ATT: Fix conn parameter to req cb in att_reset
The conn pointer is still valid / not reused at this time and can be
used further up the stack as an identifer. This simplifies the API of
ATT, and fixes callbacks in GATT that pass on this value directly since
their API does not allow conn to be NULL.
Fixes #41794
Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>1 parent bb10558 commit 1cd8339
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
2625 | | - | |
2626 | | - | |
2627 | 2625 | | |
2628 | 2626 | | |
2629 | 2627 | | |
| |||
2632 | 2630 | | |
2633 | 2631 | | |
2634 | 2632 | | |
2635 | | - | |
| 2633 | + | |
2636 | 2634 | | |
2637 | 2635 | | |
2638 | 2636 | | |
2639 | 2637 | | |
2640 | 2638 | | |
2641 | 2639 | | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
2642 | 2644 | | |
2643 | 2645 | | |
2644 | 2646 | | |
| |||
0 commit comments