fix(nimble): Added change to ensure that API execution returns success

This commit is contained in:
Darshan Dobariya
2024-02-29 16:23:47 +05:30
committed by Abhinav Kudnar
parent dcdbb54450
commit 8c94718c35
-1
View File
@@ -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;