Bluetooth: Shell: Fix coverity issue in cmd_adv_data

Fix wrong parameter type to avoid Unsigned compared against 0

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/65578

Signed-off-by: Hang Fan <fanhang8@gmail.com>
This commit is contained in:
Hang Fan 2023-12-23 21:19:16 +08:00 committed by Johan Hedberg
parent ff62faac07
commit 915f0fd74c
1 changed files with 1 additions and 1 deletions

View File

@ -2001,7 +2001,7 @@ static int cmd_adv_data(const struct shell *sh, size_t argc, char *argv[])
size_t hex_data_len;
size_t ad_len = 0;
size_t sd_len = 0;
size_t len = 0;
ssize_t len = 0;
bool discoverable = false;
size_t *data_len;
int err;