mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-20 07:57:22 +00:00
fix(nimble): Fixed incorrect handling of bonded devices
This commit is contained in:
@@ -6644,7 +6644,7 @@ ble_gap_unpair_oldest_peer(void)
|
||||
}
|
||||
|
||||
rc = ble_store_util_bonded_peers(
|
||||
&oldest_peer_id_addr, &num_peers, 1);
|
||||
&oldest_peer_id_addr, &num_peers, MYNEWT_VAL(BLE_STORE_MAX_BONDS));
|
||||
if (rc != 0) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user