Commit 8ea7c45
[nrf fromtree] bluetooth: host: Handle failure to disable scan when updating own_addr
It wasn't taken into account that bt_le_scan_set_enable()
has a return value. It's not likely that the controller
rejects the command when BT_DEV_SCANNING is set, however.
Signed-off-by: Olivier Lesage <[email protected]>
(cherry picked from commit aa4e6ac)1 parent 8f08163 commit 8ea7c45
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2181 | 2181 | | |
2182 | 2182 | | |
2183 | 2183 | | |
2184 | | - | |
2185 | | - | |
| 2184 | + | |
| 2185 | + | |
2186 | 2186 | | |
2187 | 2187 | | |
2188 | 2188 | | |
| |||
0 commit comments