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:
8d44a57
)
adapter: fix set_mode MGMT_OP_SET_BONDABLE
author
Archie Pusaka
<apusaka@chromium.org>
Mon, 22 Feb 2021 06:07:43 +0000
(14:07 +0800)
committer
Ayush Garg
<ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000
(19:08 +0530)
Currently pending_settings is assigned MGMT_SETTING_DISCOVERABLE,
but it should have been MGMT_SETTING_BONDABLE instead.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
patch
|
blob
|
history
diff --git
a/src/adapter.c
b/src/adapter.c
index
e46a839
..
ff3130b
100644
(file)
--- a/
src/adapter.c
+++ b/
src/adapter.c
@@
-1080,7
+1080,7
@@
static bool set_mode(struct btd_adapter *adapter, uint16_t opcode,
setting = MGMT_SETTING_DISCOVERABLE;
break;
case MGMT_OP_SET_BONDABLE:
- setting = MGMT_SETTING_
DISCOVER
ABLE;
+ setting = MGMT_SETTING_
BOND
ABLE;
break;
}