summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-07-04 10:17:29 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-04 15:23:18 +0300
commit08efacdd306c39dc7fc48cf0af144545b48a9938 (patch)
treedba0cee293ccafeea24dde04e13b8dc39f3952d2 /plugins
parent8bf75cb34a4800afea8ad28861172d04bfda3786 (diff)
adapter: make restore powered work again
differently from hciops mgmtops had no support to restore the powered of a adapter. We now do this directly inside adapter_remove()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mgmtops.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c
index 7c77be8c..c060adaa 100644
--- a/plugins/mgmtops.c
+++ b/plugins/mgmtops.c
@@ -2183,12 +2183,6 @@ static int mgmt_set_did(int index, uint16_t vendor, uint16_t product,
return 0;
}
-static int mgmt_restore_powered(int index)
-{
- DBG("index %d", index);
- return -ENOSYS;
-}
-
static int mgmt_load_link_keys(int index, GSList *keys, gboolean debug_keys)
{
char *buf;
@@ -2476,7 +2470,6 @@ static struct btd_adapter_ops mgmt_ops = {
.set_did = mgmt_set_did,
.add_uuid = mgmt_add_uuid,
.remove_uuid = mgmt_remove_uuid,
- .restore_powered = mgmt_restore_powered,
.load_keys = mgmt_load_link_keys,
.set_io_capability = mgmt_set_io_capability,
.create_bonding = mgmt_create_bonding,