diff --git a/src/mgmt.c b/src/mgmt.c
index b2391db..c15f25b 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
return 0;
}
-int mgmt_set_pairable(int index, gboolean pairable)
-{
- DBG("index %d pairable %d", index, pairable);
- return mgmt_set_mode(index, MGMT_OP_SET_PAIRABLE, pairable);
-}
-
static int mgmt_set_ssp(int index, gboolean ssp)
{
DBG("index %d ssp %d", index, ssp);
DBG("hci%u name %s", index, (char *) rp->name);
DBG("hci%u short name %s", index, (char *) rp->short_name);
- if (!mgmt_pairable(info->current_settings))
- mgmt_set_pairable(index, TRUE);
-
if (mgmt_ssp(info->supported_settings) &&
!mgmt_ssp(info->current_settings))
mgmt_set_ssp(index, TRUE);
diff --git a/src/mgmt.h b/src/mgmt.h
index 87541e0..ef08148 100644
--- a/src/mgmt.h
+++ b/src/mgmt.h
int mgmt_set_connectable(int index, gboolean connectable);
int mgmt_set_discoverable(int index, gboolean discoverable, uint16_t timeout);
-int mgmt_set_pairable(int index, gboolean pairable);
int mgmt_set_fast_connectable(int index, gboolean enable);
int mgmt_start_discovery(int index);