zephyr/subsys/bluetooth/host
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
..
classic Bluetooth: SSP: No MITM if required level is less than L3 2024-10-16 09:59:38 +02:00
shell bluetooth: shell: avoid multiple `strlen` calls 2024-11-16 13:50:58 -05:00
CMakeLists.txt Bluetooth: Shell: Restructure shell files 2024-09-24 09:21:04 -04:00
Kconfig bluetooth: host: conn: Check if *conn is not NULL 2024-10-18 17:46:04 +01:00
Kconfig.gatt Bluetooth: GATT: Allow to tune writable device appearance permissions 2024-10-16 16:35:56 +01:00
Kconfig.l2cap
addr.c
addr_internal.h
adv.c Bluetooth: Deprecate adv auto-resume 2024-10-08 16:57:01 +02:00
adv.h
aes_ccm.c
att.c bluetooth: host: att: Implement disconnect on ATT timeout 2024-10-10 14:59:02 -04:00
att_internal.h tests: bsim: bluetooth: host: att: Add ATT timeout test 2024-10-10 14:59:02 -04:00
buf.c
buf_view.h
conn.c bluetooth: host: conn: Check if *conn is not NULL 2024-10-18 17:46:04 +01:00
conn_internal.h bluetooth: host: CS support for various HCI commands 2024-10-18 14:15:49 +02:00
crypto.h
crypto_psa.c
crypto_tc.c
cs.c bluetooth: host: Add helper function for parsing PCTs 2024-10-25 14:06:25 +02:00
data.c
direction.c
direction_internal.h
ecc.c
ecc.h
gatt.c Bluetooth: Host: Ensure only connected peers affect `_bt_gatt_ccc.value` 2024-11-08 11:35:42 -06:00
gatt_internal.h
hci_common.c
hci_core.c Bluetooth: Host: Add BT_TESTING trace event for ACL pool destroy 2024-10-26 17:13:45 +02:00
hci_core.h bluetooth: host: CS support for various HCI commands 2024-10-18 14:15:49 +02:00
hci_ecc.c
hci_ecc.h
hci_raw.c
hci_raw_internal.h
id.c Bluetooth: Host: ID: Log resolve list conflicts 2024-11-16 13:43:59 -05:00
id.h
iso.c Bluetooth: ISO: Add ISO BIS bitfield check macro 2024-10-10 20:22:39 -04:00
iso_internal.h
keys.c
keys.h subsys/bluetooth/host/keys.h: Add include guard and required include 2024-10-29 09:24:13 -07:00
l2cap.c Bluetooth: Host: Upgrade log severity for L2CAP user error 2024-10-26 17:13:45 +02:00
l2cap_internal.h
long_wq.c
long_wq.h
monitor.c Bluetooth: Host: Fix monitor UART selection 2024-11-01 09:56:52 -05:00
monitor.h
scan.c
scan.h
settings.c
settings.h
smp.c Bluetooth: BR: Improve `bt_conn_set_bondable` 2024-10-02 15:54:30 +02:00
smp.h
smp_null.c
uuid.c