mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-11-06 12:32:46 +00:00
fix(nimble): Fixed incorrect handling of bonded devices
This commit is contained in:
@@ -6548,7 +6548,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