diff mbox series

[BlueZ] Fix ad_clear_data() to clear correct structure

Message ID 92D4BD44-91B2-4D0A-9A43-AEAE5DEAA963@metanate.com (mailing list archive)
State New, archived
Headers show
Series [BlueZ] Fix ad_clear_data() to clear correct structure | expand

Checks

Context Check Description
tedd_an/pre-ci_am fail error: patch failed: client/advertising.c:757 error: client/advertising.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch

Commit Message

Northfield Stuart Dec. 7, 2023, 3:44 p.m. UTC
---
 client/advertising.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com Dec. 7, 2023, 4:17 p.m. UTC | #1
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: client/advertising.c:757
error: client/advertising.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/client/advertising.c b/client/advertising.c
index a7474d6a2..b8e3f4ab3 100644
--- a/client/advertising.c
+++ b/client/advertising.c
@@ -757,7 +757,7 @@  void ad_disable_manufacturer(DBusConnection *conn)
 
 static void ad_clear_data(void)
 {
-       memset(&ad.manufacturer, 0, sizeof(ad.manufacturer));
+       memset(&ad.data, 0, sizeof(ad.data));
 
        return bt_shell_noninteractive_quit(EXIT_SUCCESS);
 }