Skip to content

Commit

Permalink
net: lib: nrfcloud_pgps_utils: Ignore error on canceling download
Browse files Browse the repository at this point in the history
Remove error log when canceling completed downloads.

Signed-off-by: Jorgen Kvalvaag <[email protected]>
  • Loading branch information
jorgenmk committed Jan 10, 2025
1 parent 8f2b54a commit f37fed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/lib/nrf_cloud/src/nrf_cloud_pgps_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static int downloader_callback(const struct downloader_evt *event)

ret = downloader_cancel(&dl);

if (ret) {
if (ret && (ret != -EPERM)) {
LOG_ERR("Error disconnecting from download client:%d", ret);
}
#endif
Expand Down

0 comments on commit f37fed7

Please sign in to comment.