Bluetooth: hci_sync: Fix not updating privacy_mode
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Jul 2022 00:12:14 +0000 (17:12 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:09:19 +0000 (17:09 -0700)
commit0900b1c62f43e495d04ca4bebdf80b34f3c12432
treedb53d4ed0d014b2f410af7bf2e2f4fa49754dffa
parent9f30de9e0343da05ac621b5817e9b1ce303c6310
Bluetooth: hci_sync: Fix not updating privacy_mode

When programming a new entry into the resolving list it shall default
to network mode since the params may contain the mode programmed when
the device was last added to the resolving list.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=209745
Fixes: 853b70b506a20 ("Bluetooth: hci_sync: Set Privacy Mode when updating the resolving list")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tested-by: Zhengping Jiang <jiangzp@google.com>
net/bluetooth/hci_sync.c