diff options
author | Brian Gix <brian.gix@intel.com> | 2022-08-05 16:42:35 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-25 16:20:30 -0700 |
commit | 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 (patch) | |
tree | 5d6a587a3149c84a28c5cc06688b33934bc44b55 /net/bluetooth/hci_event.c | |
parent | 3fe318ee72c54506534f51b4b4dfb19e0e0df2db (diff) | |
download | lwn-651cd3d65b0f76a2198fcf3a80ce5d53dd267717.tar.gz lwn-651cd3d65b0f76a2198fcf3a80ce5d53dd267717.zip |
Bluetooth: convert hci_update_adv_data to hci_sync
hci_update_adv_data() is called from hci_event and hci_core due to
events from the controller. The prior function used the deprecated
hci_request method, and the new one uses hci_sync.c
Signed-off-by: Brian Gix <brian.gix@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 485c814cf44a..395c6479456f 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -2152,7 +2152,7 @@ static u8 hci_cc_set_ext_adv_param(struct hci_dev *hdev, void *data, adv_instance->tx_power = rp->tx_power; } /* Update adv data as tx power is known now */ - hci_req_update_adv_data(hdev, cp->handle); + hci_update_adv_data(hdev, cp->handle); hci_dev_unlock(hdev); |