Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c')
-rw-r--r--Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c b/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c
index 68aa17a92..3accb35cc 100644
--- a/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c
+++ b/Middlewares/ST/STM32_WPAN/thread/openthread/core/openthread_api/commissioner.c
@@ -7,13 +7,12 @@
******************************************************************************
* @attention
*
- * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
- * All rights reserved.</center></h2>
+ * Copyright (c) 2018-2021 STMicroelectronics.
+ * All rights reserved.
*
- * This software component is licensed by ST under Ultimate Liberty license
- * SLA0044, the "License"; You may not use this file except in compliance with
- * the License. You may obtain a copy of the License at:
- * www.st.com/SLA0044
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
@@ -72,7 +71,7 @@ otError otCommissionerStop(otInstance *aInstance)
p_ot_req->Size=0;
- Ot_Cmd_Transfer();
+ Ot_Cmd_TransferWithNotif();
p_ot_req = THREAD_Get_OTCmdRspPayloadBuffer();
return (otError)p_ot_req->Data[0];
@@ -129,7 +128,7 @@ otError otCommissionerRemoveJoiner(otInstance *aInstance, const otExtAddress *aE
p_ot_req->Size=1;
p_ot_req->Data[0] = (uint32_t) aEui64;
- Ot_Cmd_Transfer();
+ Ot_Cmd_TransferWithNotif();
p_ot_req = THREAD_Get_OTCmdRspPayloadBuffer();
return (otError)p_ot_req->Data[0];