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:
a695dd7
)
Fix svace issue
59/272559/1
accepted/tizen/unified/20220323.062650
submit/tizen/20220322.002237
author
Wootak Jung
<wootak.jung@samsung.com>
Mon, 21 Mar 2022 02:35:36 +0000
(11:35 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Mon, 21 Mar 2022 02:35:36 +0000
(11:35 +0900)
Remove unnecessary check logic
Change-Id: I39d8c4753d30be92c300bafb7f7aef11d4f7f9b9
src/device.c
patch
|
blob
|
history
diff --git
a/src/device.c
b/src/device.c
index
71c9dad
..
6cb26dd
100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-2653,8
+2653,7
@@
static GSList *create_pending_list(struct btd_device *dev, const char *uuid)
return g_slist_prepend(dev->pending, service);
#ifdef TIZEN_FEATURE_BLUEZ_MODIFY
- else if ((service == NULL) &&
- (g_strcmp0(uuid, HFP_HS_UUID) == 0)) {
+ else if (g_strcmp0(uuid, HFP_HS_UUID) == 0) {
DBG("HFP service not found check for HSP service");
service = find_connectable_service(dev, HSP_HS_UUID);
if (service)