commit | 8f2b8ba527d9739dfb713cc220673b681a1b1f90 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@silabs.com> | Fri Jun 07 21:45:21 2024 +0300 |
committer | Johan Hedberg <johan.hedberg@silabs.com> | Wed Jun 12 11:05:51 2024 +0300 |
tree | e3de5a68dfe7390fe95b25ebd1526bc13fd8861f | |
parent | 6477a75db3b1944c83eaf2e95170268a985547ff [diff] |
Bluetooth: Host: Avoid processing "no change" encryption changes If the new encryption state is the same as the old one, there's no point in doing additional processing or callbacks. Simply log a warning and ignore the HCI event in such a case. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com> (cherry picked from commit bf363d7c3e4614ebc9b7e7a051657ae6fde6283b)