summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index fab01cee6..0b6321dd5 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -645,7 +645,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_DISCOVERABLE;
+ setting = MGMT_SETTING_BONDABLE;
break;
}