File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
applications/serial_lte_modem/src/mqtt_c
tests/subsys/net/lib/mqtt_helper/src Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ static int do_mqtt_disconnect(void)
424424 return - ENOTCONN ;
425425 }
426426
427- err = mqtt_disconnect (& client );
427+ err = mqtt_disconnect (& client , NULL );
428428 if (err ) {
429429 LOG_ERR ("ERROR: mqtt_disconnect %d" , err );
430430 return err ;
Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ int mqtt_helper_disconnect(void)
622622
623623 mqtt_state_set (MQTT_STATE_DISCONNECTING );
624624
625- err = mqtt_disconnect (& mqtt_client );
625+ err = mqtt_disconnect (& mqtt_client , NULL );
626626 if (err ) {
627627 /* Treat the sitation as an ungraceful disconnect */
628628 LOG_ERR ("Failed to send disconnection request, treating as disconnected" );
Original file line number Diff line number Diff line change @@ -1196,7 +1196,7 @@ int nct_disconnect(void)
11961196 LOG_DBG ("Disconnecting" );
11971197
11981198 dc_endpoint_free ();
1199- return mqtt_disconnect (& nct .client );
1199+ return mqtt_disconnect (& nct .client , NULL );
12001200}
12011201
12021202int nct_process (void )
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ void test_on_publish_too_large_incoming_msg(void)
400400
401401void test_mqtt_helper_disconnect_when_connected (void )
402402{
403- __cmock_mqtt_disconnect_ExpectAndReturn (& mqtt_client , 0 );
403+ __cmock_mqtt_disconnect_ExpectAndReturn (& mqtt_client , NULL , 0 );
404404
405405 mqtt_state = MQTT_STATE_CONNECTED ;
406406
@@ -410,7 +410,7 @@ void test_mqtt_helper_disconnect_when_connected(void)
410410
411411void test_mqtt_helper_disconnect_when_connected_mqtt_api_error (void )
412412{
413- __cmock_mqtt_disconnect_ExpectAndReturn (& mqtt_client , -1 );
413+ __cmock_mqtt_disconnect_ExpectAndReturn (& mqtt_client , NULL , -1 );
414414
415415 mqtt_state = MQTT_STATE_CONNECTED ;
416416
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ manifest:
6565 # https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
6666 - name : zephyr
6767 repo-path : sdk-zephyr
68- revision : 9442059bfd79de2f8e8ad858e7ad064694493bc1
68+ revision : 1a2d42b0aa3b4bc2148d4c1ae2ccc977cf6282c5
6969 import :
7070 # In addition to the zephyr repository itself, NCS also
7171 # imports the contents of zephyr/west.yml at the above
You can’t perform that action at this time.
0 commit comments