Bluetooth: Translate additional address type correctly
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2020 12:38:56 +0000 (18:08 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 30 Jul 2020 07:34:42 +0000 (09:34 +0200)
commit6540351e6f27ef718e3cf5b46349633f3ec57859
tree5c4c3e7f5dd099b1a1f5da63318e93bde9834131
parent58789a1990c1a849a461ac912e72a698a771951a
Bluetooth: Translate additional address type correctly

When using controller based address resolution, then the new address
types 0x02 and 0x03 are used. These types need to be converted back into
either public address or random address types.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sathish Narsimman <sathish.narasimman@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c