Skip to content

Commit 8411c7e

Browse files
committed
subsys: ctr_ble_tag: Fix unlock mutex
Signed-off-by: Karel Blavka <[email protected]>
1 parent 601bf8b commit 8411c7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/ctr_ble_tag/ctr_ble_tag.c

+1
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ int ctr_ble_tag_read_cached(size_t slot, uint8_t addr[BT_ADDR_SIZE], int *rssi,
470470
m_tag_data[slot].valid = false;
471471

472472
*valid = false;
473+
k_mutex_unlock(&m_tag_data_lock);
473474
return 0;
474475
}
475476

0 commit comments

Comments
 (0)