commit | e54902bdbee9889117f90b69e16fea2815ce8bdf | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Mon Dec 04 13:07:36 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Dec 11 09:53:36 2023 +0100 |
tree | 96e3fa774f6e4a5ef4f8705cf32f5c85c12d1183 | |
parent | 01bd94ac4ffcd66ab15b16b07a0d5e0d55f8720b [diff] |
Samples: Bluetooth: Fix bug in is_substring for broadcast sink The is_substring did not work for true substrings, as it would always compare [0] to [0], so it would return false for the substring "BC" being in "ABC". Removed the tolower as it is not necessary and fixes the issue. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>