Skip to content

Commit dc42a80

Browse files
[nrf fromtree] bluetooth: mesh: Correct callback check mesh blob client
xfer_progress_complete should be checked instead of end callback Signed-off-by: alperen sener <[email protected]> (cherry picked from commit 3fdb81c)
1 parent 05076ea commit dc42a80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/mesh/blob_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ static void progress_checked(struct bt_mesh_blob_cli *cli)
10861086

10871087
cli->state = BT_MESH_BLOB_CLI_STATE_NONE;
10881088

1089-
if (cli->cb && cli->cb->end) {
1089+
if (cli->cb && cli->cb->xfer_progress_complete) {
10901090
cli->cb->xfer_progress_complete(cli);
10911091
}
10921092
}

0 commit comments

Comments
 (0)