Commit: 5c65356cae64ddbc95210deb36ee66430645edf8
Parent: da0253959ec384d8c4ff7c970ce12fb8a95bd052
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-11-19 18:36:46
Tree: ef882a868802d3f9de0b5d1a628188b3c25d2ef7

shared/att: Fix failing to set security level bt_att_chan_set_security attempts to set BT_SECURITY without first checking what is the current security level which may cause errors since the kernel does actually return -EINVAL when the security doesn't change.

Diffstat

M src/shared/att.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

View Full Diff | Patch