mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-26 11:51:27 +00:00
fix(nimble): Added change to ensure that API execution returns success
This commit is contained in:
committed by
Abhinav Kudnar
parent
dcdbb54450
commit
8c94718c35
@@ -2860,7 +2860,6 @@ ble_sm_inject_io(uint16_t conn_handle, struct ble_sm_io *pkey)
|
||||
if (!ble_sm_sc_oob_data_check(proc,
|
||||
(pkey->oob_sc_data.local != NULL),
|
||||
(pkey->oob_sc_data.remote != NULL))) {
|
||||
res.app_status = BLE_HS_SM_US_ERR(BLE_SM_ERR_OOB);
|
||||
res.sm_err = BLE_SM_ERR_OOB;
|
||||
} else {
|
||||
proc->flags |= BLE_SM_PROC_F_IO_INJECTED;
|
||||
|
||||
Reference in New Issue
Block a user