Bluetooth: SMP: Stop new pairing early if MAX_PAIR has been reached
Stop the pairing procedure in the request phase if no storage is available for the keys. This avoids the pairing procedure from failing during the key distribution phase. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
3263f93747
commit
f1c7371494
2 changed files with 22 additions and 1 deletions
|
@ -303,7 +303,7 @@ typedef enum __packed {
|
|||
*
|
||||
* This function may return error if required level of security is not possible
|
||||
* to achieve due to local or remote device limitation (e.g., input output
|
||||
* capabilities).
|
||||
* capabilities), or if the maximum number of paired devices has been reached.
|
||||
*
|
||||
* @param conn Connection object.
|
||||
* @param sec Requested security level.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue