Bluetooth: Translate additional address type during le_conn_comp
authorSathish Narasimman <sathish.narasimman@intel.com>
Thu, 20 May 2021 11:42:01 +0000 (17:12 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:33 +0000 (07:12 +0200)
commit79699a7056ff784524d1baa387f30ddf98e14a1c
tree8f68ae615938a3824e1219b3b18195c4ff91646a
parentc615943ef0525fdaea631ca42ded446e11389062
Bluetooth: Translate additional address type during le_conn_comp

When using controller based address resolution, then the destination
address type during le_conn_complete uses 0x02 & 0x03 if controller
resolves the destination address(RPA).
These address types need to be converted back into either 0x00 0r 0x01

Signed-off-by: Sathish Narasimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c