Parent: e2e198ced468122df7b431cb06158123ba60a2f2
Author: Yu Liu <yudiliu@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-09-29 02:09:20
Tree: b68bcb35297f74881db6c2dd76526eff0d4f4998
device: Disable auto connect for temporary devices When connecting a LE keyboard, if the user input the wrong passkey, the stack would keep auto connect and thus allow the user to retry the passkey indefinitely which is a security concern. This fix would disallow the auto connect if the authentication failed.
Diffstat
| M | src/device.c | | | 7 | ++++++- |
1 files changed, 6 insertions(+), 1 deletions(-)