Hi Eramoto, On Thu, Nov 2, 2017 at 9:46 AM, ERAMOTO Masaya <eramoto.masaya@xxxxxxxxxxxxxx> wrote: > Even if running set-advertise-manufacturer with data having an invalid > value, client does not clear the advertising service data and clears the > advertising manufacturer data. > --- > client/advertising.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/client/advertising.c b/client/advertising.c > index 7e4bb3643..76eda3c97 100644 > --- a/client/advertising.c > +++ b/client/advertising.c > @@ -517,7 +517,7 @@ void ad_advertise_manufacturer(DBusConnection *conn, const char *arg) > val = strtol(w.we_wordv[i], &endptr, 0); > if (!endptr || *endptr != '\0' || val > UINT8_MAX) { > rl_printf("Invalid value at index %d\n", i); > - ad_clear_service(); > + ad_clear_manufacturer(); > goto done; > } > > -- > 2.14.1 Applied, thanks. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html