Parent: a085d8c88bd45474d3f9d9a0d3d20ebf7de858f6
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Szymon Janc <szymon.janc@codecoup.pl>
Date: 2018-04-20 14:30:28
Tree: e0b672e333b8306ee118f7c631dfd9111714f3d8
adapter: Fix accessing NULL adv_manager adv_manager might be NULL also if BR/EDR only mdoe is set in main.conf or if btd_adv_manager_new failed so checking for LE in supported settings is not enough. This also makes btd_adv_manager_refresh consistent with other adv_manager API regarding passing NULL manager as function parameter.
Diffstat
| M | src/adapter.c | | | 3 | +- - |
| M | src/advertising.c | | | 3 | +++ |
2 files changed, 4 insertions(+), 2 deletions(-)