Skip to content

Commit 768c939

Browse files
pascal-nordicrlubos
authored andcommitted
net: lib: nrf_cloud: Fix truncated message
To avoid missing part of the download complete message, it should be moved after the mutex call. Signed-off-by: Pascal Hernandez <[email protected]>
1 parent 9305851 commit 768c939

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ Libraries for networking
637637
* Deprecated the :ref:`lib_nrf_cloud_rest` library.
638638
Use the :ref:`lib_nrf_cloud_coap` library instead.
639639

640+
* Fixed occasional message truncation that notified that the download was complete in the :ref:`lib_nrf_cloud_fota` library.
641+
640642
Libraries for NFC
641643
-----------------
642644

subsys/net/lib/nrf_cloud/src/nrf_cloud_fota.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ static void http_fota_handler(const struct fota_download_evt *evt)
661661

662662
switch (evt->id) {
663663
case FOTA_DOWNLOAD_EVT_FINISHED:
664-
LOG_INF("Download complete");
665664
nrf_cloud_download_end();
665+
LOG_INF("Download complete");
666666

667667
if (current_fota.status == NRF_CLOUD_FOTA_DOWNLOADING &&
668668
current_fota.sent_dl_progress != 100) {

0 commit comments

Comments
 (0)