Bluetooth: SMP: Send Pairing failed if there's no key space
If there's no more room to store new pairings, send a proper error instead of letting the SMP timeout expire. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
ccec2dcb3a
commit
294c68d087
1 changed files with 1 additions and 0 deletions
|
@ -4338,6 +4338,7 @@ void bt_smp_update_keys(struct bt_conn *conn)
|
|||
if (!conn->le.keys) {
|
||||
BT_ERR("Unable to get keys for %s",
|
||||
bt_addr_le_str(&conn->le.dst));
|
||||
smp_error(smp, BT_SMP_ERR_UNSPECIFIED);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue