Bluetooth: Fix update of own_addr_type if ll_privacy supported
authorSathish Narasimman <nsathish41@gmail.com>
Fri, 25 Sep 2020 12:32:15 +0000 (18:02 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 25 Sep 2020 15:53:59 +0000 (17:53 +0200)
commitc0ee0644df5da3f877a53e402d03634080d6e766
treeeb41b31419e3b8f58d7df9a8fd1328a2981d92b6
parenta46b7ed4d52d09bd6c7ab53b2217d04fc2f02c65
Bluetooth: Fix update of own_addr_type if ll_privacy supported

During system powercycle when trying to get the random address
hci_get_random_address set own_addr_type as 0x01. In which if we enable
ll_privacy it is supposed to be 0x03.

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