Bluetooth: tester: Set privacy flag in current_settings
If CONFIG_BLUETOOTH_PRIVACY is set in Kconfig, current settings shall indicate it's usage. Change-Id: I0645aedf1b774617c9d97cec0070908aef919ca7 Signed-off-by: Mariusz Skamra <mariusz.skamra@gmail.com>
This commit is contained in:
parent
7fe81b92a6
commit
c06a13a93d
|
@ -569,6 +569,9 @@ static void tester_init_gap_cb(int err)
|
|||
atomic_set_bit(¤t_settings, GAP_SETTINGS_CONNECTABLE);
|
||||
atomic_set_bit(¤t_settings, GAP_SETTINGS_BONDABLE);
|
||||
atomic_set_bit(¤t_settings, GAP_SETTINGS_LE);
|
||||
#if defined(CONFIG_BLUETOOTH_PRIVACY)
|
||||
atomic_set_bit(¤t_settings, GAP_SETTINGS_PRIVACY);
|
||||
#endif /* CONFIG_BLUETOOTH_PRIVACY */
|
||||
|
||||
bt_conn_cb_register(&conn_callbacks);
|
||||
|
||||
|
|
Loading…
Reference in a new issue