zephyr/subsys/bluetooth
Pisit Sawangvonganan c120ffb31d bluetooth: shell: avoid multiple `strlen` calls
Add `len` to store the result of `strlen(addr_arg)` to avoid
multiple calls to `strlen` within the `for-loop` in
`cmd_scan_filter_set_addr`.
While the performance impact may be minimal in a shell context,
storing `strlen(addr_arg)` in `len` ensures a single call,
making the code more predictable and consistent.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-11-16 13:50:58 -05:00
..
audio Bluetooth: CSIP: Fix off-by-one in in lock restore 2024-11-08 09:24:43 -06:00
common bluetooth: host: set BT_BUF_EVT_RX_SIZE to 255 when CS is enabled 2024-09-25 04:05:14 -04:00
controller Bluetooth: Controller: Fix spurious ISO Sync receiver stall 2024-11-05 13:44:37 -06:00
crypto
host bluetooth: shell: avoid multiple `strlen` calls 2024-11-16 13:50:58 -05:00
lib
mesh bluetooth: kconfig: Remove deprecated config 2024-11-13 19:08:29 -08:00
services bluetooth: BAS: add battery critical status char to bas service 2024-10-22 14:06:35 +02:00
CMakeLists.txt Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
Kconfig bluetooth: host: LE CS subevent result reassembly 2024-10-15 19:09:05 -04:00
Kconfig.adv
Kconfig.iso Bluetooth: Audio: Update SCAN_DELEGATOR dependency to GATT_DYNAMIC_DB 2024-10-23 16:53:37 +02:00
Kconfig.logging Bluetooth: Mesh: Adds subnet bridge states 2024-09-17 05:22:32 -04:00