Bluetooth: Mesh: fix blob_cli.c build with Clang
There should be logic OR, not bitwise OR in update_missing_chunks. Signed-off-by: Krzysztof Kopyściński <krzysztof.kopyscinski@codecoup.pl>
This commit is contained in:
parent
fc2dcc4665
commit
3322bdce10
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ static void update_missing_chunks(struct bt_mesh_blob_cli *cli)
|
|||
}
|
||||
|
||||
for (size_t idx = 0; idx < cli->block.chunk_count; idx++) {
|
||||
bool missing = blob_chunk_missing_get(cli->block.missing, idx) |
|
||||
bool missing = blob_chunk_missing_get(cli->block.missing, idx) ||
|
||||
blob_chunk_missing_get(target->pull->missing, idx);
|
||||
blob_chunk_missing_set(cli->block.missing, idx, missing);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue