commit | 37a30b5435a45c3f8e233309fc70fc7de92b2e76 | [log] [tgz] |
---|---|---|
author | Szymon Janc <szymon.janc@codecoup.pl> | Fri Apr 20 12:45:05 2018 +0200 |
committer | Szymon Janc <szymon.janc@codecoup.pl> | Fri Apr 20 13:30:28 2018 +0200 |
tree | e0b672e333b8306ee118f7c631dfd9111714f3d8 | |
parent | a085d8c88bd45474d3f9d9a0d3d20ebf7de858f6 [diff] |
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.