commit | 6b8fbfa68afc4606c19739bf6e8cf51f1deffe59 | [log] [tgz] |
---|---|---|
author | Joakim Andersson <joakim.andersson@nordicsemi.no> | Tue Feb 09 09:19:10 2021 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Feb 11 14:58:03 2021 -0500 |
tree | 93812ff76a7faa09b19a7f0c9b7952bcfbcec375 | |
parent | 09eb7e066bd800f2a9a247bab93a674884a71be0 [diff] |
Bluetooth: host: Set error in security changed when not required level Set the error in the security changed callback when the encryption has not reached the required security level. Terminate the pairing procedure in SMP on failure to avoid the security changed callback being called twice in this case. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>