Commit: 0ba16aa232ccc7cca7a0b241be34a330ceb96bd6
Parent: 838741b884d9c43ab0099c54605462af252bbc5b
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-09-24 02:20:28
Tree: f5b53ecde2908c65aab9689045b7444f13c560c1

device: Check both bearers's paired status upon removal of connection Because Link Key for BREDR can be transformed into LTK for LE (and vice versa), there is a possibility of getting 'paired' on either of BREDR/LE without actually connected using the aforementioned bearer. When removing the connection, we should check both bearers's paired and bonded status rather than just the one getting disconnected. Reviewed-by: Miao-chen Chou <mcchou@chromium.org>

Diffstat

M src/device.c | 40 ++++++++++++++++++++++++++++- - - - - - - - - - - -

1 files changed, 28 insertions(+), 12 deletions(-)

View Full Diff | Patch