Rename set_powered callbacks accordingly

This commit is contained in:
Johan Hedberg 2010-12-16 00:41:10 +02:00
parent d9998b7216
commit 6a63c31255
2 changed files with 4 additions and 4 deletions

View File

@ -2347,7 +2347,7 @@ done:
return err;
}
static int hciops_powered(int index, gboolean powered)
static int hciops_set_powered(int index, gboolean powered)
{
uint8_t mode = SCAN_DISABLED;
@ -3082,7 +3082,7 @@ static struct btd_adapter_ops hci_ops = {
.cleanup = hciops_cleanup,
.start = hciops_start,
.stop = hciops_stop,
.set_powered = hciops_powered,
.set_powered = hciops_set_powered,
.set_connectable = hciops_connectable,
.set_discoverable = hciops_discoverable,
.set_limited_discoverable = hciops_set_limited_discoverable,

View File

@ -446,7 +446,7 @@ static int mgmt_stop(int index)
return -ENOSYS;
}
static int mgmt_powered(int index, gboolean powered)
static int mgmt_set_powered(int index, gboolean powered)
{
DBG("index %d powered %d", index, powered);
return -ENOSYS;
@ -726,7 +726,7 @@ static struct btd_adapter_ops mgmt_ops = {
.cleanup = mgmt_cleanup,
.start = mgmt_start,
.stop = mgmt_stop,
.set_powered = mgmt_powered,
.set_powered = mgmt_set_powered,
.set_connectable = mgmt_connectable,
.set_discoverable = mgmt_discoverable,
.set_limited_discoverable = mgmt_set_limited_discoverable,