From 8c94718c3587ea9ef9f22a1924bd1ca5c9cdc184 Mon Sep 17 00:00:00 2001 From: Darshan Dobariya Date: Thu, 11 Jan 2024 12:40:52 +0530 Subject: [PATCH] fix(nimble): Added change to ensure that API execution returns success --- nimble/host/src/ble_sm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nimble/host/src/ble_sm.c b/nimble/host/src/ble_sm.c index 4752ebda0..89fc41948 100644 --- a/nimble/host/src/ble_sm.c +++ b/nimble/host/src/ble_sm.c @@ -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;