Fix wrong condition in mqtt_pkcs11_demo_helpers.c (#1390)

* Fix Fleet Provisioning demo flow issues

Signed-off-by: RESG_XX <xiao-xuan.ngew.xc@renesas.com>

* Fix CI-check failures

Signed-off-by: RESG_XX <xiao-xuan.ngew.xc@renesas.com>

* Fix wrong condition in mqtt_demo_helpers.c

Signed-off-by: RESG_XX <xiao-xuan.ngew.xc@renesas.com>

* Revert unrelated change in Fleet Provisioning

---------

Signed-off-by: RESG_XX <xiao-xuan.ngew.xc@renesas.com>
This commit is contained in:
xuan97z1
2026-01-23 07:38:16 +08:00
committed by GitHub
parent 22d02e9fe4
commit 81a6503dee
2 changed files with 2 additions and 2 deletions

View File

@@ -809,7 +809,7 @@ BaseType_t xEstablishMqttSession( MQTTContext_t * pxMqttContext,
xMqttSessionEstablished = true;
}
if( xReturnStatus == pdFAIL )
if( xReturnStatus != pdFAIL )
{
/* Check if session is present and if there are any outgoing publishes
* that need to resend. This is only valid if the broker is

View File

@@ -807,7 +807,7 @@ BaseType_t xEstablishMqttSession( MQTTContext_t * pxMqttContext,
xMqttSessionEstablished = true;
}
if( xReturnStatus == pdFAIL )
if( xReturnStatus != pdFAIL )
{
/* Check if session is present and if there are any outgoing publishes
* that need to resend. This is only valid if the broker is