mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-05 21:04:49 +00:00
fix(nimble): Removed code for termination upon signed write operation failure
This commit is contained in:
@@ -2460,7 +2460,6 @@ ble_att_svr_rx_signed_write(uint16_t conn_handle, struct os_mbuf **rxom)
|
||||
return 0;
|
||||
err:
|
||||
if(message != NULL) nimble_platform_mem_free(message);
|
||||
ble_gap_terminate(conn_handle, BLE_ERR_AUTH_FAIL);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
@@ -6800,7 +6800,7 @@ ble_gap_unpair(const ble_addr_t *peer_addr)
|
||||
}
|
||||
}
|
||||
|
||||
if (value.sec.ltk_present || value.sec.irk_present) {
|
||||
if (value.sec.ltk_present || value.sec.irk_present || value.sec.csrk_present) {
|
||||
// Delete the Peer record from store as LTK is present
|
||||
ltk_rc = ble_store_util_delete_peer(&key.sec.peer_addr);
|
||||
if (ltk_rc != 0) {
|
||||
|
||||
Reference in New Issue
Block a user