mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 05:34:23 +08:00
Rename set_powered callbacks accordingly
This commit is contained in:
parent
d9998b7216
commit
6a63c31255
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user