Commit 537203f
committed
lib: bluetooth: ble_adv: fix allow list advertising without directed
With allow-list enabled, and directed and/or directed high duty
advertising disabled in Kconfig, the allow-list for use in fast and
slow advertising did not take effect when advertising was started with
mode directed or directed high duty.
This made it possible for non-paired/non-allow-listed devices to
connect after a paired/allow-listed device had disconnected and
advertising had been automatically restarted in the directed high
duty mode.
This fixes two internal checks in the ble_adv library that was
the source of the issue. These checks will now correctly
return the "capabilities" of the advertising mode to be
started so that the configuration will be correct.
Signed-off-by: Andreas Moltumyr <[email protected]>1 parent 1fc97e6 commit 537203f
File tree
2 files changed
+16
-1
lines changed- doc/nrf-bm/release_notes
- lib/bluetooth/ble_adv
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
58 | 71 | | |
59 | 72 | | |
60 | 73 | | |
| |||
0 commit comments