diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-03-01 11:15:04 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-02 16:11:01 -0800 |
commit | 226a06430538d4423f0415fde306655d5b97a4c3 (patch) | |
tree | 08171be2b13e04586f04a9a2b34165b4f5c4bf18 /plugins | |
parent | 92f9d578033bad9067ea448d4fa2ca3773ec5f50 (diff) | |
download | bluez-226a06430538d4423f0415fde306655d5b97a4c3.tar.gz bluez-226a06430538d4423f0415fde306655d5b97a4c3.tar.xz bluez-226a06430538d4423f0415fde306655d5b97a4c3.zip |
core: remove set_limited_discoverable from adapter_ops driver
Core should not longer need to take care of details of discoverable bits
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/hciops.c | 1 | ||||
-rw-r--r-- | plugins/mgmtops.c | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/plugins/hciops.c b/plugins/hciops.c index fdc12710..4f287f07 100644 --- a/plugins/hciops.c +++ b/plugins/hciops.c @@ -3886,7 +3886,6 @@ static struct btd_adapter_ops hci_ops = { .cleanup = hciops_cleanup, .set_powered = hciops_set_powered, .set_discoverable = hciops_set_discoverable, - .set_limited_discoverable = hciops_set_limited_discoverable, .set_pairable = hciops_set_pairable, .start_discovery = hciops_start_discovery, .stop_discovery = hciops_stop_discovery, diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c index 51279ef4..89355ad8 100644 --- a/plugins/mgmtops.c +++ b/plugins/mgmtops.c @@ -1877,12 +1877,6 @@ static void mgmt_cleanup(void) } } -static int mgmt_set_limited_discoverable(int index, gboolean limited) -{ - DBG("index %d limited %d", index, limited); - return -ENOSYS; -} - static int mgmt_start_discovery(int index) { char buf[MGMT_HDR_SIZE + sizeof(struct mgmt_cp_start_discovery)]; @@ -2407,7 +2401,6 @@ static struct btd_adapter_ops mgmt_ops = { .set_powered = mgmt_set_powered, .set_discoverable = mgmt_set_discoverable, .set_pairable = mgmt_set_pairable, - .set_limited_discoverable = mgmt_set_limited_discoverable, .start_discovery = mgmt_start_discovery, .stop_discovery = mgmt_stop_discovery, .set_name = mgmt_set_name, |