]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite74c5d30905bd394b88ab115abc2bcbdd33216d0
treedb53d4ed0d014b2f410af7bf2e2f4fa49754dffa
parente716205be7a32901632d084c18d0bc31e47af7e0
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: 4def21fd645fe ("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