diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-07-14 15:44:10 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-07-19 14:15:47 -0700 |
commit | 0356d2a4c690bbd50c307cf795ccc047accd3d65 (patch) | |
tree | 69d888ce7f9c0b6dfb5fbace88f895383061d9fe /src/main.conf | |
parent | daea569566cb3209454e4952b14981ab1346f000 (diff) | |
download | bluez-0356d2a4c690bbd50c307cf795ccc047accd3d65.tar.gz |
btdev: Add proper checks for own_addr_type for LE scan/adv
own_addr_type 0x01 and 0x03 shall check that a random address has
properly been set:
BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E
page 2496:
'If LE_Scan_Enable is set to 0x01, the scanning parameters'
Own_Address_Type parameter is set to 0x01 or 0x03, and the random
ddress for the device has not been initialized, the Controller shall
return the error code Invalid HCI Command Parameters (0x12).'
BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E
page 2614:
'If Enable is set to 0x01, the scanning parameters' Own_Address_Type
parameter is set to 0x01 or 0x03, and the random address for the
device has not been initialized, the Controller shall return the
error code Invalid HCI Command Parameters (0x12).'
Diffstat (limited to 'src/main.conf')
-rw-r--r-- | src/main.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.conf b/src/main.conf index 198899541..791b0f909 100644 --- a/src/main.conf +++ b/src/main.conf @@ -70,7 +70,7 @@ # Possible values: "off", "device", "network" # "network" option not supported currently # Defaults to "off" -# Privacy = off +Privacy = device # Specify the policy to the JUST-WORKS repairing initiated by peer # Possible values: "never", "confirm", "always" @@ -88,7 +88,7 @@ # Enables experimental features and interfaces. # Defaults to false. -#Experimental = false +Experimental = true [BR] # The following values are used to load default adapter parameters for BR/EDR. |