projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53aa5ed
)
test-uhid: Add call to bt_uhid_unregister_all
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 16 Sep 2024 20:21:17 +0000
(16:21 -0400)
committer
Wootak Jung
<wootak.jung@samsung.com>
Thu, 20 Feb 2025 07:43:23 +0000
(16:43 +0900)
This adds a call to bt_uhid_unregister_all so it tests if notification
callback end up calling that.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
unit/test-uhid.c
patch
|
blob
|
history
diff --git
a/unit/test-uhid.c
b/unit/test-uhid.c
index 98e298968e06bcc1d6fbccffd4711e821e0d3387..b9c9ded16e0aea60cbde7145085cb41fc5909495 100755
(executable)
--- a/
unit/test-uhid.c
+++ b/
unit/test-uhid.c
@@
-85,6
+85,7
@@
static void destroy_context(struct context *context)
if (context->source > 0)
g_source_remove(context->source);
+ bt_uhid_unregister_all(context->uhid);
bt_uhid_unref(context->uhid);
test_free(context->data);